-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointerException in LayerSweepTypeDecider #1084
Comments
Could you provide me with an example graph in elklive? This might happen since the greedy switch heuristic also calls the layer sweep. But I cannot say for sure since I do not have an example to debug. |
Oh my bad, this is probably a typo and you cannot share your model. Should you list the layout options that you set? Some are not made to be used together with |
Sorry for the delay and I meant that I can't share the model. Most of them are probably the default values but they are populated automatically, so I can't tell you which one we changed:
Nodes
Edges
|
So if I see that correctly, you only set INCLUDE_CHILDREN on the parent and set portConstraints and nodeSize constraints on each node. Everything else is a default value? If you know of any non-default value it this might help to identify the issue. To me FIXED_SIDE portConstraints make no sense since there do not seem to be any ports, or are they? I do not have any idea why this happened. If you find a small example that you could share, it would be much appreciated. I would only be interested in the graph structure, everything else does not matter. If you run ELK in Eclipse, maybe you could export the layout graph as detailed here in the |
Unfortunately, I can't share any reproducible example. I use ELK Layered, the offending option is hierarchy handling which is set to INCLUDE_CHILDREN. With SEPARATE_CHILDREN everything works. I think the diagram also has subdiagrams. This option is set a the root diagram level, no other direct layer options are set. Setting crossing minimization strategy to none to disable the layered sweeping didn't help, it seems to be a general problem. Any ideas how this can happen?
The text was updated successfully, but these errors were encountered: