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
when nodes are records, loom.io/view renders incorrectly #75
Comments
I would argue that this isn't a bug in loom. Loom assumes (by default) that the For the case that you provide, the implementation of As an aside, it's also true that each pair for an additional step away from zero holds the relationship, so Personally, I consider this an interesting, but minor, edge case that falls outside the purview of loom. (Note that if you use strings instead of numbers to build up your records, the output appears as expected.) The way to deal with this is to either provide your own implementation of |
I agree with @tessellator's assessment (and, thanks, @tessellator!). GraphViz is, for better or worse, string-driven. This makes it easy to write interfaces for from other languages, at the loss of some insight into the source language's specifics. Either of the suggested approaches are reasonable workarounds for this behavior. The documentation is a bit weak in this area, and does require some knowledge of the way GraphViz works. I've made a note to expand on this and add a caveat in the docs. |
The text was updated successfully, but these errors were encountered: