Add interactive constraints to order edges/dummy nodes
Currently the interactive layered approach only allows to interactively set layer and constraint of nodes. However, it could also be possible to include the dummy nodes in this if it is not too complex. An edge could have a list of layer/position constraint pairs for the position of dummy nodes.
Open questions/TODOs:
-
Currently the interactive node layout does consider the layers created for edge labels, but only layers with nodes in them. One has to somehow integrate that and decide whether nodes could be placed in such layers or if both should be handled separately. Currently nodes can only be placed in edge layers, if layer constraints are set and no outgoing edges force them on a specific layer in relation to their target (see C in [1], [2], B in layer 0, C in layer 1).
-
What happens if an edge has more dummy nodes than constraint, how are they assigned to their constraints? I think setting dummy nodes on these specific constraints and introducing more dummy nodes if the destination cannot be reached from could work.
-
Check whether the current interactive strategies for the different phases support pseudo position for dummy nodes or whether constraints should be integrated in an own interactive strategy.
-
Outside of Elk it has to be explored, how one could set this kind of constraints, in the model and via user interaction.
[1]
[2]
