Skip to content

Commit

Permalink
layered: hierarchical: Give dummy ports a default position. (#792)
Browse files Browse the repository at this point in the history
Fixes #754 (NPE)

Signed-off-by: Soeren Domroes <sdo@informatik.uni-kiel.de>
  • Loading branch information
soerendomroes committed Mar 17, 2022
1 parent 49a174e commit 6a0fdeb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -176,7 +176,7 @@ private List<ExternalPort> transformHierarchyEdges(final LGraph graph, final LNo
if (dummyNode == null) {
dummyNode = LGraphUtil.createExternalPortDummy(port,
portConstraints, port.getSide(), -port.getNetFlow(),
null, null, port.getSize(),
null, new KVector(), port.getSize(),
nestedGraph.getProperty(LayeredOptions.DIRECTION), nestedGraph);
dummyNode.setProperty(InternalProperties.ORIGIN, port);
dummyNodeMap.put(port, dummyNode);
Expand Down

0 comments on commit 6a0fdeb

Please sign in to comment.