From 56677588b48b6317198345b2c29df90ebff48c20 Mon Sep 17 00:00:00 2001 From: seancarroll Date: Sun, 3 Jan 2021 00:04:49 -0600 Subject: we arent using Config and i'm not 100% sure what if any configuration or rendering options I want to support so for now delete --- src/lib.rs | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 8ba1400..26ea391 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -246,7 +246,7 @@ impl<'a> DotString<'a> for CompassPoint { // TODO: probably dont need this struct and can move impl methods into lib module pub struct Dot<'a> { - graph: Graph<'a>, //config: Config, + graph: Graph<'a>, } impl<'a> Dot<'a> { @@ -339,25 +339,6 @@ impl<'a> Dot<'a> { } } -/// `Dot` configuration. -/// -/// This enum does not have an exhaustive definition (will be expanded) -#[derive(Debug, PartialEq, Eq)] -pub enum Config { - /// Use indices for node labels. - NodeIndexLabel, - /// Use indices for edge labels. - EdgeIndexLabel, - /// Use no edge labels. - EdgeNoLabel, - /// Use no node labels. - NodeNoLabel, - /// Do not print the graph/digraph string. - GraphContentOnly, - #[doc(hidden)] - _Incomplete(()), -} - #[derive(Hash, Eq, PartialEq, PartialOrd, Ord, Debug, Clone)] pub enum AttributeType { Graph, -- cgit v1.2.3