Commit cbb3311
committed
refactor: improve compound state edge routing with bidirectional anchors
- Compound states with both incoming and outgoing transitions get
separate _anchor_in/_anchor_out nodes for cleaner edge routing
- Move anchor nodes into the atomic subgraph so they share the same
rank region as real states, avoiding blank space in clusters
- Place inner initial dots in the atomic cluster for shorter arrows
- Extract _render_initial_arrow helper to reduce _render_states complexity
- Regenerate affected documentation images1 parent e5b93c1 commit cbb3311
34 files changed
Lines changed: 164 additions & 45 deletions
File tree
- docs/images
- statemachine/contrib/diagram/renderers
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments