Placement algorithm and (interactive) diagram library for a clear layout and connections #289
philipsens
started this conversation in
General
Replies: 3 comments 1 reply
-
@jacodg had a conversation about this and suggested to temporarily have the nodes stack vertically. This take out the searching for the node and will make it easier to move a node to a dedicated spot. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@jjansenvr Suggested to look at arrows.app and bpmn.io (bpmn-js) |
Beta Was this translation helpful? Give feedback.
0 replies
-
@nielsm5 Suggested node-RED Some well known applications already implement this. Like Home Assistant and TingsBoard. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This discussion started with issue #106, in which @mhdirkse asked to make the connections more clear. This issue didn't get the attention that it needed, so we had a meeting about it.
In the meeting we discussed:
These points are just suggestions and shouldn't be seen as TODO's. Some of these things we already did or solved differently. Updates regarding this subject should be made here to keep track of the progress.
@jacodg Made a list of chooses we could make to bring the diagram to a new level.
Use a different placement algorithm and add a label so that it can also be dragged (our current roadmap) (Replace Sidescape with Graphviz or Mermaid)
Cons:
Lines don't run neatly around blocks
JSPlupm license so we can use the JSPlump professional placement algorithm
Cons:
Costs a lot
Not sure it works well
Advantages:
Least work(?)
Rebuild jsPlump (and use different placement algorithm)
Cons:
A lot of work
Advantages:
Can make it exactly as we want
Continuous Graphviz image generation
Cons:
User can no longer determine position himself
Less beautiful (especially drawing a line is something like selecting 2 nodes and then image is generated again)
Advantages:
For free
Very good placement (including lines that run well)
User never again has to struggle with placement (at first still fun but after a while a lot of hassle)
No need for x and y in xml configuration anymore
Integrates well with images that can already be seen in console
Beta Was this translation helpful? Give feedback.
All reactions