react-diagrams
react-diagrams copied to clipboard
Creating a link between two nodes, not their ports
Suppose I have two nodes, each with an arbitrary amount of ports. I'm trying to figure out if I can create a link between these two DefaultNodeModel
components, not between their ports. It seems as though the link
method only exists on DefaultPortModel
.
Any ideas, am I missing something?
setup a phantom port that spans the size of the node and implement custom links which offset the arrow so that they touch the border. I am doing this in my own project, I cant yet share the source code but I may add a similar demo in the project gallery.
@dylanvorster Demo added?