beautiful-react-diagrams icon indicating copy to clipboard operation
beautiful-react-diagrams copied to clipboard

Constrain connections between ports?

Open RThomasHyde opened this issue 5 years ago • 0 comments

Is it possible to specify that certain input ports can connect only to certain output ports (and vice versa)? For example, if I had "red" and "green" output ports, and also "red" and "green" input ports, is it possible to only allow a connection dragged from the "red" output to attach to a "red" input port? Also, is there a way to provide feedback when dragging a connection over a port, e.g. to indicate that the connection is allowed/disallowed?

RThomasHyde avatar Dec 16 '20 22:12 RThomasHyde