Toolbar 1-click clone feature

Hi

What should I do to re-create this feature in goJS?

something like this?

  • Click event
  • Similar to droppable hover state?
  • Create link between old node and the new node
  • Click again to confirm location

How about this way: Selection Adornment Buttons
The Grafcet sample, Grafcet Diagrams, also demonstrates buttons which appear when a node is selected.

Note that using a selection adornment is preferable to depending on hover, because hover events do not work on mobile devices. But if you really want an example of using hover events to show buttons in an Adornment, take a look at: [EDIT: obsolete]