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

- ParentEdgeStyleFunction allows specifying the function to generate the style of the parent edge of the root node of a tree, as well as that of any subtrees at positions matching a pattern.
- 可使用以下选项设置:
-
Automatic use the automatic style func a general edge style function » Allfunc use style 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 » - 实际上按 ParentEdgeStyle、ParentEdgeStyleFunction 和 ParentEdgeShapeFunction 的顺序应用边样式指定,后来的指定将覆盖前面的指定.
- ParentEdgeStyleFunctionfunc 指定根节点的父边的样式应由 func[data] 提供,其中 data 是根中的数据.
范例
打开所有单元关闭所有单元基本范例 (4)
Wolfram Research (2022),ParentEdgeStyleFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ParentEdgeStyleFunction.html.
文本
Wolfram Research (2022),ParentEdgeStyleFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ParentEdgeStyleFunction.html.
CMS
Wolfram 语言. 2022. "ParentEdgeStyleFunction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ParentEdgeStyleFunction.html.
APA
Wolfram 语言. (2022). ParentEdgeStyleFunction. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ParentEdgeStyleFunction.html 年