GUI drawing/editing graphs(create nodes, insert edges)

4 views (last 30 days)
I want to create a GUI, where I can draw graphs, create vertices/edges by click/drag of mouse. Also I want a functionality to find the incidence matrix of the created graph. please suggest. thanks

Answers (1)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 30 May 2015
Have a look at ginput command with which, you can put points in to the graph and draw shapes.


Find more on Graph and Network Algorithms in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!