Svelvet
Svelvet copied to clipboard
allow customization of edge anchoring on node?
I really love what this project is doing, one feature I'd really love is the ability to designate a "side" of the node to anchor an edge to (top/bottom/left/right). Currently it seems like one can only assume top down which is somewhat limiting from a drawing space.
{
id: "e1-3",
source: 1,
target: 3,
type: "straight",
anchors: {
source: "left",
target: "top"
}
}
Thoughts?
this is an excellent idea and something we have definitely thought of adding! thank you so much. we'll let you know when we've updated the npm package to include this feature, and definitely feel free to suggest any ideas / contribute to the code if you feel called to!
I really love what this project is doing, one feature I'd really love is the ability to designate a "side" of the node to anchor an edge to (top/bottom/left/right). Currently it seems like one can only assume top down which is somewhat limiting from a drawing space.
Hey Derek,
I've added this feature to my fork and created a pull request!
Thanks for bringing it up.
Seamus
Awesome work!!
On Wed, Sep 7, 2022 at 4:48 PM jeffreywentworth @.***> wrote:
Closed #73 https://github.com/open-source-labs/Svelvet/issues/73 as completed.
— Reply to this email directly, view it on GitHub https://github.com/open-source-labs/Svelvet/issues/73#event-7342902562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAFA5XBPXGPAIU6YVKFJMTV5ESTTANCNFSM5XZZVKRQ . You are receiving this because you authored the thread.Message ID: @.***>