I was trying to see how to replicate the self loop example in JSON. However, if I go and convert it to JSON the resulting graph is not displayed the same.
ELK DSL:
spacing.nodeSelfLoop: 30
spacing.edgeEdge: 10
node n1 {
portConstraints: FIXED_SIDE
port p1 { ^port.side: WEST }
port p2 { ^port.side: EAST }
}
edge n1 -> n1
edge n1 -> n1
edge n1 -> n1
edge n1.p1 -> n1.p2
Describe the bug
I was trying to see how to replicate the self loop example in JSON. However, if I go and convert it to JSON the resulting graph is not displayed the same.
ELK DSL:
Converted JSON:
Expected behavior This is the ELK DSL output:
Screenshots This is the output after converting to JSON:
ELK Version 0.9.3
Additional context