redotjs / redot-lint

Graphviz code style linter
https://unifiedjs.com
MIT License
3 stars 1 forks source link

Valid edge operator for graph type #1

Open ChristianMurphy opened 6 years ago

ChristianMurphy commented 6 years ago

Valid

// graph uses undirected edges
graph {
  a -- b
}

// digraph uses directed edges
digraph {
  a -> b
}

Invalid

graph {
  a -> b
}

digraph {
  a -- b
}