In C++/CLI (CLR), you can use MSAGL
(add references to Microsoft.Msagl.GraphViewerGdi.dll, AutomaticGraphLayout.Drawing.dll)
Quick test =>
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
It supposed to accept user input. User have to fill the table(adjacency matrix) like so:
The max amount of nodes would be 10 or so.
Then you should be able to press something like "plot graph" button and it draws the appropriate graph for you:
The problem is how can i draw a graph?
In C++/CLI (CLR), you can use MSAGL
(add references to Microsoft.Msagl.GraphViewerGdi.dll, AutomaticGraphLayout.Drawing.dll)
Quick test =>
Hello,
have a look at this code:
cppgraph
index.html
Edit: and have a look at this: free-c-library-for-drawing-flow-diagrams-or-directed-graph
Regards, Guido