Home » Modeling » Eclipse Layout Kernel » Junctions(Junctions missing where expected)
Junctions [message #1843442] |
Thu, 29 July 2021 21:17 |
H S Messages: 3 Registered: July 2021 |
Junior Member |
|
|
There's very limited documentation on junctions so reaching out to the experts here to better understand the feature.
Here's a simple graph that I created -
{
id: "root",
layoutOptions: { 'algorithm': 'layered' },
children: [
{
id: "n1",
width: 100,
height: 50,
layoutOptions: {
"portConstraints": "FIXED_SIDE"
},
ports: [
{
id: "n1_p1",
width: 5,
height: 2,
layoutOptions: {
"port.side": "WEST"
}
},
{
id: "n1_p2",
width: 5,
height: 2,
layoutOptions: {
"port.side": "EAST"
}
}
],
children: [
{
id: "n2",
width: 30,
height: 20,
ports: [
{
id: "n2_p1",
width: 5,
height: 2,
layoutOptions: {
"port.side": "WEST"
}
},
{
id: "n2_p2",
width: 5,
height: 2,
layoutOptions: {
"port.side": "EAST"
}
}
],
layoutOptions: {
"portConstraints": "FIXED_SIDE"
}
}
],
edges: [
{ id: "e1", sources: [ "n2_p1" ], targets: [ "n1_p1" ] },
{ id: "e2", sources: [ "n2_p1" ], targets: [ "n1_p2" ] },
{ id: "e3", sources: [ "n2_p1" ], targets: [ "n2_p2" ] }
]
},
],
}
All three edges, e1, e2, and e3 are originating from the same port. I see that there's a junction point for one of the edges (unclear whether its for e1 or e2 because of the overlap). I would have expected a junction point for edge e3 as well. Is this junction missing i.e. bug or am I misunderstanding the concept behind junctions?
|
|
| | | |
Goto Forum:
Current Time: Mon Oct 14 16:02:34 GMT 2024
Powered by FUDForum. Page generated in 0.25017 seconds
|