EdgeStyle
EdgeStyle(
style: str | None = None,
color: str | None = None,
pen_width: float | None = None,
arrowhead: str | None = None,
arrow_size: float | None = None,
show_type: bool = False,
)How a type of edge is drawn. None leaves Graphviz’s default. show_type labels the edge with its type’s name.
>>> EdgeStyle(style="dotted", color="#b0b0b0", arrowhead="none").attributes()
{'style': 'dotted', 'color': '#b0b0b0', 'arrowhead': 'none'}Attributes
| Name | Description |
|---|---|
| style | |
| color | |
| pen_width | |
| arrowhead | |
| arrow_size | |
| show_type |
Methods
| Name | Description |
|---|---|
| attributes | The Graphviz edge attributes this style sets. |
attributes
attributes()The Graphviz edge attributes this style sets.