DirectedEdges

DirectedEdges

GraphGraphPlot 和相关函数的一个选项,指定边是否应该是有向的.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (5)

默认情况下,规则是有向边:

指定无向边:

获得具有有向边的一个 CycleGraph

从一个对称邻接矩阵创建一个有向图:

显示边界为按 GraphPlot 的箭头:

显示边界为不按 LayeredGraphPlot 的箭头:

范围  (5)

DirectedEdges 是特殊图构建器包括 PathGraph 的一个选项:

CompleteGraphGridGraphButterflyGraph

CycleGraphStarGraphWheelGraph

CompleteKaryTreeKaryTree

DirectedEdges->True 防止 AdjacencyGraph 创建无向图:

WeightedAdjacencyGraph

DirectedEdges 可用于 RandomGraphUniformGraphDistribution

BernoulliGraphDistribution

默认情况下,边界显示为 GraphPlotTreePlot 表示的线段:

显示边界为箭头:

默认情况下,边界显示为 LayeredGraphPlot 表示的箭头:

下面将边界显示为线段:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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