You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but it would be better to move all of these into a utility that simple-viewer.html can also use, and expand on them.
Then here's the fun part: run through the whole gallery of graphviz examples and see how many we can get to the same level of functionality.
We're still missing a lot, including big things like clusters and html-ish nodes, but we have enough that it's worth comparing. This mapper will also be helpful documentation.
(Today I found an example that's just for testing arrowheads - would have been helpful a few weeks ago when I implemented these. Of course, it doesn't work yet because many attributes are not mapped in simple-viewer.)
The text was updated successfully, but these errors were encountered:
Have yet to test the corpus but we have dc_graph.apply_graphviz_accessors applying 14 different attributes from the spec, and also dc_graph.snapshot_graphviz to produce "graphviz json" format using the current accessors.
The simple viewer has an option to apply these. (explore.html continues to apply all of them.)
See #106 for some difficulties with defaults around directedness.
An unintended consequence is that if you apply graphviz attributes you also have to apply graphviz defaults, which look pretty archaic. Hope to find some way to hybridize in the future.
Many, many of the attributes have equivalents in graphviz (spec) or were directly based on them.
They have different names and are mostly driven by generic accessors rather than assuming particular attribute names in the data.
explore.html provides mapping for a lot of these (some unrelated stuff in here too):
dc.graph.js/web/js/explore.js
Lines 164 to 181 in da9ca54
but it would be better to move all of these into a utility that simple-viewer.html can also use, and expand on them.
Then here's the fun part: run through the whole gallery of graphviz examples and see how many we can get to the same level of functionality.
We're still missing a lot, including big things like clusters and html-ish nodes, but we have enough that it's worth comparing. This mapper will also be helpful documentation.
(Today I found an example that's just for testing arrowheads - would have been helpful a few weeks ago when I implemented these. Of course, it doesn't work yet because many attributes are not mapped in simple-viewer.)
The text was updated successfully, but these errors were encountered: