ParentEdgeStyle
是 Tree 及相关函数的一个选项,指定应为边设置何种样式.
更多信息
- ParentEdgeStyle 允许指定树的根节点的父边的样式,以及与模式匹配的位置上任何子树的边的样式.
- 可使用以下选项设置:
-
Automatic use the automatic style style use style for the edge » Allstyle use style for all edges » TreeCases[pattern]style use style for edges at nodes with data matching pattern » "Leaves"style use style for edges at leaves » "NonLeaves"style use style for edges at non-leaves » {pos1style1,pos2style2,…} use stylei for the edge at relative position posi » {patt1lbl1,patt2lbl2,…} use stylei for edges at positions matching the pattern patti » - 没有明确的 posstyle 边样式的子树被视为采用自动设置的样式.
- ParentEdgeStyle 可用于线和面.
- 请使用 Directive[style1,style2,…] 指定多个样式指令.
- 实际上按 ParentEdgeStyle、ParentEdgeStyleFunction 和 ParentEdgeShapeFunction 的顺序应用边样式指定,后来的指定将覆盖前面的指定.
范例
打开所有单元关闭所有单元
Wolfram Research (2022),ParentEdgeStyle,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ParentEdgeStyle.html.
文本
Wolfram Research (2022),ParentEdgeStyle,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ParentEdgeStyle.html.
CMS
Wolfram 语言. 2022. "ParentEdgeStyle." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ParentEdgeStyle.html.
APA
Wolfram 语言. (2022). ParentEdgeStyle. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ParentEdgeStyle.html 年