Skip to content
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

Don’t create self-loop edges for edges that are not self-loops #418

Merged
merged 1 commit into from May 8, 2019

Conversation

spoenemann
Copy link
Member

Fixes #417. Includes some code cleanup.

The relevant change is in SelfLoopComponent#calculateConnectedEdges(). If the target port of an outgoing edge belongs to a different node, the SelfLoopEdge creation is skipped. Without this change, a SelfLoopEdge with null target was created.

@spoenemann spoenemann requested a review from le-cds April 15, 2019 13:03
@le-cds le-cds added alg-layered Affects the ELK Layered algorithm. bug Erroneous behaviour. labels May 8, 2019
@le-cds le-cds added this to the Release 0.6.0 milestone May 8, 2019
@spoenemann spoenemann merged commit fefe2ca into master May 8, 2019
@spoenemann spoenemann deleted the msp_issue417 branch May 8, 2019 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alg-layered Affects the ELK Layered algorithm. bug Erroneous behaviour.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE in SelfLoopComponentDependencyGraphCalculator
2 participants