Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Fix issue #3500 #3516

Merged
merged 1 commit into from
Oct 3, 2017
Merged

Fix issue #3500 #3516

merged 1 commit into from
Oct 3, 2017

Conversation

justinharrell
Copy link
Contributor

This fixes unconnected edges not showing back up if nodes are modified or added that connect them.

I tried a couple approaches, this could probably be optimized some with deeper changes, but I choose to keep the fix as simple as possible.

Copy link
Contributor

@wimrijnders wimrijnders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is beautiful in its conciseness. I'll not bother you with empty lines and location of {'s. Perfect.

@yotamberk yotamberk merged commit 3581561 into almende:develop Oct 3, 2017
@wimrijnders
Copy link
Contributor

Fixes #3500

@wimrijnders
Copy link
Contributor

While the code fix is 100% good, I neglected to observe that there is no regression test for this fix. Do you have the energy to add that?

I'm thinking of some network where a node is removed and then added again. The test would be that the edges for that node have reconnected.

If you don't feel like adding that, I'm prepared to do it myself. It's my oversight.

@justinharrell
Copy link
Contributor Author

I pushed a change with a test and some white-space cleanup into the fix branch, would that be a new PR?

@wimrijnders
Copy link
Contributor

Sincerely thanks for your effort. I've never even tried pushing to a merged PR before, is it possible?
Let's not tart fate. A new PR would do nicely.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants