visualization.config
config
What a visualization looks like: the sequence direction, the styles of nodes (by class) and edges (by type), the label hook, and the graph-wide settings.
Nothing here says anything about layout; what aligns and what goes above what is layout’s business. The default tables are meant to be tuned: a class or an edge type gets an entry, the most specific class in a node’s MRO wins, and an entry in VisualizationConfig.node_styles or edge_styles beats the default entry for the same class or type.
Attributes
| Name | Description |
|---|---|
| DARK | |
| MID | |
| LIGHT | |
| DEFAULT_NODE_STYLES | |
| DEFAULT_EDGE_STYLES | |
| SYNC_BAR_STYLE |
Classes
| Name | Description |
|---|---|
| SequenceDirection | Which way NEXT advances across the page. The values are Graphviz’s rankdir. |
| NodeStyle | How a class of node is drawn. None leaves Graphviz’s default. |
| EdgeStyle | How a type of edge is drawn. None leaves Graphviz’s default. |
| VisualizationConfig | Everything a GraphRenderer is told: the direction, style overrides |