Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
rendering options I want to support so for now delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use Rust's From trait
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
new trait that will provide attribute text and string
|
|
|
|
|
|
|
|
|
|
usually take self by reference or self by mutable reference; consider choosing a less ambiguous name'
|
|
|
|
statements and nodes/edges
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rather than appending separator at the end within a loop and then having
to pop off the trailing separator characters we consume the first entry
from the iter and then loop over the rest of the elements in the iter
adding the separator then key/values
|
|
|
|
|
|
|
|
with attributes
Initial design of having Node struct contain builder methods was causing
lifetime and exclusive reference issues as builder methods needed to
return &'a mut Self which I couldnt put into the graph nodes field of
type Vec<Node<'a>>.
To get around this I've included a NodeBuilder struct that has the specific
builder methods along with a build method to create a Node.
I'm still messing with an issue that doesnt allow chaining methods after new
which is a real pita
|
|
|
|
|
|
|
|
the EdgeType trait I was using
|
|
|
|
|
|
|
|
|