jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
37 stars 14 forks source link

Allow for connectors connecting to connectors #4729

Open willov opened 3 weeks ago

willov commented 3 weeks ago

Is your feature request related to a problem? Please describe. In biological networks, it is common that connectors are used to highlight biochemical reactions (e.g. A -> B when A is converted to B). In many cases, other entities can influence the rate of this reaction, and that is typically depicted as an arrow pointing (typically) at the center of the connector between A->B. Below is an example of a slightly more complex biological map:

simplemodel

Currently, to the best of my knowledge, is impossible to end a connector at another connector

Describe the solution you'd like A possibility to end connectors at other connectors.

Describe alternatives you've considered We have created a custom group in the scratchpad with a line ending in an invisible node, continuing with an arrow. However, this workaround is problematic, due to scaling issues when resizing the group. Also, sometimes the group breaks the straight line and comes an angled line when trying to connect the group to other entities. Furthermore, sometimes additional inputs to the reaction are needed, leading to need to create and align additional nodes to the workaround connector group.

Additional context (None at the moment)

alderg commented 3 weeks ago

See https://www.drawio.com/blog/waypoint-shape and https://twitter.com/drawio/status/1819024529546465429