|
Re: Layout Part of Diagram (NO_LAYOUT) [message #1850456 is a reply to message #1850455] |
Thu, 03 March 2022 14:57 |
Sören Domrös Messages: 14 Registered: June 2021 |
Junior Member |
|
|
I am not sure what the problem might be. I think the NO_LAYOUT option works as intended, as seen here.
Do you maybe set this option on a node that is connected to other nodes.
This should result in an UnsupportedConfigurationExceptionsince it would leave an unconnected edge.
Can you share your model from here?
What o.desgin file?
Maybe this is just enabled or disabled top-level. So either all nodes are included or all excluded.
[Updated on: Thu, 03 March 2022 15:03] Report message to a moderator
|
|
|
Re: Layout Part of Diagram (NO_LAYOUT) [message #1850458 is a reply to message #1850455] |
Thu, 03 March 2022 15:04 |
Jonathan Li Messages: 10 Registered: November 2021 |
Junior Member |
|
|
Never mind, I got the NO_LAYOUT option to work. However, since the node is connected to the rest of the diagram the algorithm errors as it doesn't have access to that node. Is NO_LAYOUT the right way to go about doing partial layouts? I'd like to use a very simple custom layout algorithm for the part of the diagram I excluded.
I got org.eclipse.elk.core.UnsupportedGraphException: The source or the target of edge ElkEdge "O 1..1 " ElkNode "<<Process>>
Atomic_Process2" (20.0,201.0 | 170.0,62.0) -> ElkNode "Element2" (384.0,336.0 | 170.0,50.0) could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN.
[Updated on: Thu, 03 March 2022 15:08] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03376 seconds