elementTools: Port Reordering
Discussed in https://github.com/clientIO/joint/discussions/1717
Originally posted by eLizardiDevelopair July 5, 2022 Hi everyone,
I want to implement port reordering inside a node. Can I make it clicking a port and dragging it?
After I've been reading the documentation I've not found any solution. Any thoughts?
Kind regards
The purpose of this issue is to write a similar tool to this that would work with all built-in port layouts.
A possible feature list:
- ability to change order of ports within a single group
- ability to move port from a group to another group
- ability to move port from one element to another element
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
We have an example related to it here: https://codepen.io/jointjs/pen/bGxqVxz You guys can follow the above code, hope this helps.
Thanks, @lehoaibaokg, I have updated the issue description.