How can diagrams route patterns better?

Answered

Most of the time the diagram system clearly understands it should merge all the lines to a shared base class.  Rarely does it understand that a factory pattern could do the same with the “create” lines, which would greatly clarify the net.

Sometimes my graphs for a factory generate OK (once i set left to right orientation):

And sometimes they do not.

Is there a way to say “merge similar outgoing connections”?  I have tried the autorouter several times with various settings and different classes selected. 

Also moving a shared incoming connection (like the blue arrows to TurtleGenerator) is painful.  I cannot select more than one end point at a time.  Which is odd when compared to the way I can select corners of different connections and move them.  only corners, not end points within a small epsilon?

FWIW, the project is https://github.com/MarginallyClever/Makelangelo-software

0
1 comment

1. The gray edges merges of the diagram were fixed in 2023.3. Please wait for the release or try EAP

2. I have created a feature request https://youtrack.jetbrains.com/issue/IDEA-336855/Diagram-make-Auto-Route-Edges-action-merge-edges

3. I have created a feature request https://youtrack.jetbrains.com/issue/IDEA-336856/Diagram-support-multiple-line-selection

We will plan to work on the feature requests.

0

Please sign in to leave a comment.