To the best of my knowledge I cannot find, on this site, any graph theory program resources.

I am looking for a program where I can draw nodes and edges and most importantly drag and drop vertices while keeping edges in tact. Does any such program exist? Can you provide me with resources to find such a program?

I want such a program, where I can drag and drop vertices, so that I may better visualize different isomorphisms of the same graph. I have a tough time seeing these sorts of things in my minds eye (although I'm trying to get better at it).

Although this appears as though it may be a duplicate, I want to stress that I am looking for a program with a simple GUI, where I can drag and drop vertices while keeping edges in tact. The "duplicate" question's answers provide an extensive of list of programs that can return information on a graph and allow you to programmatically generate graphs. I am not interested in this at the moment. I want an incredibly simple program.
Please only post answers with these conditions in mind.


Try using sage math via notebook http://sagenb.org and use the function graph_editor(). I think that's precisely what you want.

  • $\begingroup$ That is exactly what I'm looking for. I can't quite figure out how to draw my own graphs yet, but i can manipulate the petersen graph exactly like I wanted to. Thank you!!! $\endgroup$ – Paddling Ghost Jan 20 '15 at 21:54

Click here for matlab graph mfile run this program in matlab command window to draw your any graph . define matrix A : adjacency matrix, where A(I,J) is nonzero (=1)if and only if there is an edge between points I and J.

for example : write in command window in matlab $$n = 9; t = 2*pi/n*(0:n-1);$$ $$A = round(rand(n));$$ $$xy = [cos(t); sin(t)]';$$ $$gplotdc(A,xy,'LineWidth',2,'MarkerSize',8);$$

in this example $A$ is $n\times n$ matrix. use your matrix instead of $A$ in above example.

  • 1
    $\begingroup$ While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. $\endgroup$ – quid Jan 20 '15 at 18:35
  • $\begingroup$ this is matlab mfile program for draw any graph. have you matlab software? $\endgroup$ – Farhad Jan 20 '15 at 18:38
  • $\begingroup$ The above comment was an automatics comment. However, one is not supposed to give "link only" answers. Please explain here, as you partially did now, what resources you are linking to and how it will help to achieve the goal. In brief the answer should still be meaningful even in the event the link goes dead. You can edit your answer. $\endgroup$ – quid Jan 20 '15 at 18:43
  • $\begingroup$ It does not seem like this is what I'm looking for. Does this include the capability of dragging and dropping vertices through a GUI? As I understand it, I will not be able to do this sort of thing through matlab as I don't think the output will allow me to move vertices around with my mouse. $\endgroup$ – Paddling Ghost Jan 20 '15 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.