ParentEdgeLabelFunction
is an option for Tree and related functions that specifies functions to use to generate edge labels.
更多信息

- ParentEdgeLabelFunction 允许指定生成树的根节点的父边标签的函数,以及生成与模式匹配的位置上任何子树的边标签的函数.
- 可使用以下选项设置:
-
Automatic use the keys of any associations as the labels None use no label func a general edge label function » Allfunc use label function func for all edges » TreeCases[pattern]func use func for edges at nodes with data matching pattern » "Leaves"func use func for edges at leaves » "NonLeaves"func use func for edges at non-leaves » {pos1func1,pos2func2,…} use funci for the edge at relative position posi » {patt1func1,patt2func2,…} use funci for edges at positions matching patti » - 实际上按 ParentEdgeLabel、ParentEdgeLabelFunction 和 ParentEdgeLabelStyle 的顺序应用边标签指定,后来的指定将覆盖前面的指定.
- ParentEdgeLabelFunctionfunc 指定根节点的父边的标签应由 func[data] 提供,其中 data 是根中的数据.
范例
打开所有单元关闭所有单元
Wolfram Research (2022),ParentEdgeLabelFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ParentEdgeLabelFunction.html.
文本
Wolfram Research (2022),ParentEdgeLabelFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ParentEdgeLabelFunction.html.
CMS
Wolfram 语言. 2022. "ParentEdgeLabelFunction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ParentEdgeLabelFunction.html.
APA
Wolfram 语言. (2022). ParentEdgeLabelFunction. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ParentEdgeLabelFunction.html 年