cpettitt / dig.js

Graph algorithms for JavaScript
MIT License
20 stars 4 forks source link

dot: handle default attributes (node, edge, graph) properly #41

Open cpettitt opened 12 years ago

cpettitt commented 12 years ago

In the dot language it is possible to specify a set of default attributes using syntax like:

node {
    color=red
}

See dot language specification for details.