我们可以访问内置的选项EdgeShapeFunction(边缘形状函数)
s使用函数图形计算`GraphElementData
以下为:
GraphComputation `GraphElementData[“FilledArrow”,“Options”]
{“ArrowSize”->自动,“ArrowPositions”->自动}
使用GraphElementData[{“FilledArrow”,“ArrowSize”->yourArrowSizeChoice,“ArrorPositions”->yourPositionChoice}]
作为的选项设置EdgeShape函数
以下为:
循环图[10,DirectedEdges->True,EdgeShapeFunction->GraphElementData[{“FilledArrow”,“ArrowSize”->0.05,“ArrorPositions”->.7}]]
行[CycleGraph[10,DirectedEdges->True,ImageSize->300,绘图标签->样式[“ArrowPositions”->#,16,ShowStringCharacters->True],EdgeShapeFunction->GraphElementData[{“FilledArrow”,“ArrowSize”->0.075,“箭头位置”->#}]]&/@{.3,.5,.8},垫片[10]]