Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Graph Utilities Package >

GraphEdit

GraphEdit[]
opens an interactive graph editor.
GraphEdit[g]
plots the graph g in the interactive graph editor.
  • The graph g may be specified by a rule list, an adjacency matrix, or the Combinatorica representation of a graph.
  • Vertices and edges can be added by clicking and dragging with the mouse. Vertices can be moved after setting "Drawing mode" to "Move" and dragging the mouse on the vertices. Vertices can be deleted after setting "Drawing mode" to "Delete" and selecting the vertices to be deleted using a mouse click.
  • Users can hold the Ctrl key and click the vertex (using the first mouse button) in the GraphEdit window to edit the vertex labels.
  • When the window is closed, a drawing of the graph, a representation of the graph as a list of rules, the coordinates, and the vertex labels, are returned.
Needs["GraphUtilities`"]
Plot a graph in the interactive graph editor:
In[2]:=
Click for copyable input
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team