What is the best way to implement graphic nodes? What means to draw them? How best to communicate between nodes?

Now I draw the nodes on the Panel using the DrawRectangle in the Paint event. WinForms application.

An example of graphic nodes picked from the site mynodes.net

  • What classes do you have these nodes and links described in? What are you going to draw WinForms, Wpf or something else? - rdorn
  • Classes for nodes and connections did not. I am looking for the right decision not to redo it. I draw on WinForms. - ComradeKolin
  • What you draw is not “graphic nodes”; it’s just rectangles with text and arrows connecting them. At the same time, these rectangles are a graphical representation of the nodes of a graph. - VladD
  • So I'm looking for the right solution - ComradeKolin
  • @VladD Well, formally, of course, you can make a graphic tool capable of displaying an abstract node with its connections. Although this also requires an abstract model. I don't even know what's harder =) - rdorn

0