summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-24dont think to use String::from now that we use Cow. Adding Color structseancarroll
2020-12-22trying some things to reduce some duplication when building node/edge ↵seancarroll
statements and nodes/edges
2020-12-20finishing up edge attribute fnsseancarroll
2020-12-20start work on edge attribute fnsseancarroll
2020-12-19adding more fns for nodesseancarroll
2020-12-18working on additional node functionsseancarroll
2020-12-18adds typed graph functionsseancarroll
2020-12-15adds a graph builder. attempting to simplify Graph typesseancarroll
2020-12-14retain order of attributes by using IndexMapseancarroll
2020-12-14working on graph attributesseancarroll
2020-12-13clean up to_dot_string string concatenationseancarroll
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
2020-12-13add support for edgesseancarroll
2020-12-12use Self for NodeBuilder::new which feels a bit cleanerseancarroll
2020-12-12adds support for shapesseancarroll
2020-12-11Fix lifetime and exclusive reference issues creating graphs with nodesseancarroll
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
2020-12-08working on nodes.seancarroll
2020-12-07more polishseancarroll
2020-12-07bit of clean upseancarroll
2020-12-07fix hard-coded graph type by creating a GraphType trait that will replace ↵seancarroll
the EdgeType trait I was using
2020-12-07get first test, empty graph, passingseancarroll
2020-12-07add AttributeText which is heavy taken from core Rust's Dot LabelTextseancarroll
2020-12-07add label field but still dont like it. looking for alternativeseancarroll
2020-12-07attributes should be a hashmap instead of a vecseancarroll
2020-12-05initial commitseancarroll