You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a: Developer integrating ewoksdraw with pyelk for automatic graph layout
I want to: Save the computed input/output port positions (x, y) as part of the elk graph output
So that: SVG link routing between tasks can use the actual port positions as anchor points instead of generic box edges
Note
Scope & Boundaries
In Scope: Persisting x/y position for each port returned by elk_ports() (both WEST input ports and EAST output ports) alongside existing id, size, and layout options
Out of Scope: Recalculating or altering the layout algorithm itself, manual/drag-based repositioning of ports, changes to edge routing or box positioning
Important
Acceptance Criteria
The feature is considered complete and ready to ship when:
Each port entry returned by elk_ports() includes its saved x/y position for both input and output ports
Existing SVG/elk conversion tests pass unchanged, and a test confirms saved port positions match the computed input_port_position/output_port_position values
Tip
The Feature
Note
Scope & Boundaries
x/yposition for each port returned byelk_ports()(bothWESTinput ports andEASToutput ports) alongside existing id, size, and layout optionsImportant
Acceptance Criteria
The feature is considered complete and ready to ship when:
elk_ports()includes its savedx/yposition for both input and output portsinput_port_position/output_port_positionvalues