joint icon indicating copy to clipboard operation
joint copied to clipboard

elementTools: Port Reordering

Open kumilingus opened this issue 3 years ago • 3 comments

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

kumilingus avatar Jul 20 '22 14:07 kumilingus

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.

github-actions[bot] avatar Jun 22 '23 00:06 github-actions[bot]

We have an example related to it here: https://codepen.io/jointjs/pen/bGxqVxz You guys can follow the above code, hope this helps.

lehoaibaokg avatar Jun 26 '23 07:06 lehoaibaokg

Thanks, @lehoaibaokg, I have updated the issue description.

kumilingus avatar Jun 30 '23 13:06 kumilingus