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

Add styling to graphviz devices and links #894

Merged
merged 2 commits into from
Jan 22, 2019

Conversation

clockbrain
Copy link
Contributor

Add styling to distinguish types of devices in the graphviz map. The coordinator is shown with bold outline, routers have rounded edges and end devices have a dashed outline.

I also set dashed lines for links with lqi of 0.

I find these changes make it easier to interpret the graphviz map. Let me know if you like any or all of these changes.

@lolorc
Copy link
Contributor

lolorc commented Jan 21, 2019

circo - graphviz version 2.40.1 (20161225.0304)

=> Warning: gvrender_set_style: unsupported style square - ignoring
no square style => https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:style

g

@Koenkk
Copy link
Owner

Koenkk commented Jan 22, 2019

Thanks!

@Koenkk Koenkk merged commit 5970e49 into Koenkk:dev Jan 22, 2019
@clockbrain clockbrain deleted the graphviz-style branch January 22, 2019 21:51
wilmardo pushed a commit to wilmardo/zigbee2mqtt that referenced this pull request Sep 26, 2019
* Add styling to graphviz devices and links

* Fix eslint error and gvrender_set_style warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants