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

Avoid creating repeated graph nodes where device matches multiple regexps #1598

Merged
merged 1 commit into from
Oct 16, 2017

Conversation

candlerb
Copy link
Contributor

@candlerb candlerb commented Oct 16, 2017

Fixes: #1498

When generating graphviz output, don't output a node which has been output previously.

In fact, if graphviz sees a node with the same name more than once, it will be counted as the same node, so it will only appear once on the graph anyway. But it will appear in an unexpected place if it matches more than one regexp in the same topology map; this change makes it appear in the first row where it matches.

@jeremystretch jeremystretch merged commit 6ec9d1d into netbox-community:develop Oct 16, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 16, 2020
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.

Topology view with overlapping regexps
2 participants