Copy/Paste this code in LATEX.
This graph editor is part of the open-source computer algebra
system Sage. To get Sage running in your browser head to Sagenb.org. Start up the graph editor
by typing
graph_editor()
or pass it a Sage graph object like
G = graphs.CompleteGraph(4);graph_editor(G)