GraphUtilities`
GraphUtilities`

GraphEdit

As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. »

GraphEdit[]

opens an interactive graph editor.

GraphEdit[g]

plots the graph g in the interactive graph editor.

更多信息和选项

  • To use GraphEdit, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
  • 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 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.

范例

基本范例  (1)

Plot a graph in the interactive graph editor:

Wolfram Research (2007),GraphEdit,Wolfram 语言函数,https://reference.wolfram.com/language/GraphUtilities/ref/GraphEdit.html.

文本

Wolfram Research (2007),GraphEdit,Wolfram 语言函数,https://reference.wolfram.com/language/GraphUtilities/ref/GraphEdit.html.

CMS

Wolfram 语言. 2007. "GraphEdit." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/GraphEdit.html.

APA

Wolfram 语言. (2007). GraphEdit. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GraphUtilities/ref/GraphEdit.html 年

BibTeX

@misc{reference.wolfram_2024_graphedit, author="Wolfram Research", title="{GraphEdit}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/GraphEdit.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_graphedit, organization={Wolfram Research}, title={GraphEdit}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/GraphEdit.html}, note=[Accessed: 18-November-2024 ]}