dot-rust
dot-rust copied to clipboard
A library for generating Graphviz DOT language files for graphs.
- Allow arbritrary attributes to be set on nodes and edges - Add graph attributes
As specificed in https://graphviz.org/docs/attr-types/portPos/
This PR: - Introduces an `IdError` type to explain invalid names - Uses `chars` instead of 1-length strings - Removes uncessary references - Implement `From` instead of `Into`
Fixes #8 - [x] Subgraph support - [x] Documentation - [x] API - [x] example - [x] Tests
This would make it possible to produce other helpful graphs, like https://github.com/adjivas/ml/issues/3.
There have been a lot of changes in the upstream graphviz crate, which haven't made it down here. The two significant changes are that the trait node and edges have...
Seems to be a small fix to enableUTF-8 support which is the [default charset](https://graphviz.org/docs/attrs/charset/) for graphviz, I'll see if I can send a PR soon.
Hello, would you be open to updating the edition version and addressing the clippy/doc/fmt warnings? Would close #20. I also have a second commit which looks specifically at the `Id::new`...
Hey! Cool project. As I went through the documentation, I notice a couple links were dead. I've gone through and updated any links I thought were off.