EdgeStyle
Details
- The following option settings can be used:
-
Automatic use automatic setting for style style use style for all edges {vivj->styleij,…} use styleij for edge vivj {pattistylei,…} use stylei for edges matching the pattern patti - Edges with explicit edge style vw->style are taken to use the automatic style.
- The wrapper Style[vw,style] is equivalent to Annotation[vw,EdgeStyle->style] and can be used when creating graphs in functions such as Graph etc.
- EdgeStyle can apply to lines and faces.
- To specify multiple style directives use Directive[style1,style2,…].
- Style and other specifications are effectively applied in the order EdgeStyle, Style and other wrappers, and EdgeShapeFunction, with later specifications overriding earlier ones.
Examples
open allclose allScope (9)
EdgeStyle can be used for general graphs:
Use EdgeStyle in an Annotation wrapper:
Alternatively, use a Style wrapper:
Use Directive to set multiple style directives:
EdgeStyle works with patterns:
EdgeStyle can be combined with EdgeShapeFunction:
EdgeShapeFunction has higher priority than EdgeStyle:
Possible Issues (1)
Using Rule to indicate edges does not work:
Text
Wolfram Research (2010), EdgeStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/EdgeStyle.html.
CMS
Wolfram Language. 2010. "EdgeStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EdgeStyle.html.
APA
Wolfram Language. (2010). EdgeStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EdgeStyle.html