Added new connection styles
This commit is contained in:
@@ -60,6 +60,12 @@ Keep the root of `src/bedit` minimal. New UI modules should go into the relevant
|
||||
- Port removal or reorientation must be rejected when it would invalidate an
|
||||
existing connection.
|
||||
- Connections reference port IDs, never port names.
|
||||
- Graph interaction has separate Pointer and Connect modes. Connections store a
|
||||
`properties.routing` value (`direct`, `angled`, or `spline`); angled routes
|
||||
store absolute scene points in `properties.waypoints`.
|
||||
- Connection appearance is configured per port type in
|
||||
`gui/graphics/connection_styles.py`, including color, width, pen style, and
|
||||
source/target arrowheads. Do not scatter those constants through painters.
|
||||
- Icon editing uses a fixed 128×128 coordinate space.
|
||||
- The visible/selectable component hitbox is calculated from vector elements,
|
||||
not from the complete 128×128 icon canvas.
|
||||
|
||||
Reference in New Issue
Block a user