Extend relativeNode extension to represent ports placed on the edge #52
xamde
started this conversation in
Discussions
Replies: 1 comment
-
|
This currently drafted in v0.4.1 as extension @ocif/node/anchored |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Proposal by Maikel & Max:
add a property "relativeTo" with default "origin".
new:
2) "boundingBox': interpret "position" as relative number from 0% to 100% in all dimensions relatative to the bounding box of the source node.
Example: position [ 0.5, 1.0 ] is 50% on the x-axis, 100% on the y-axis, so we end at middle point of the bottom rect line (also known as 'south edge').
Beta Was this translation helpful? Give feedback.
All reactions