Safe Haskell | None |
---|---|
Language | Haskell2010 |
- toDotGraph :: Directionality -> (v -> [Attribute]) -> (v -> v -> e -> [Attribute]) -> Graph g e v -> DotGraph
- toLabeledDotGraph :: Directionality -> (v -> Text) -> (e -> Text) -> Graph g e v -> DotGraph
Documentation
toDotGraph :: Directionality -> (v -> [Attribute]) -> (v -> v -> e -> [Attribute]) -> Graph g e v -> DotGraph Source #
This is a fairly general way to build a dot file from a graph.
toLabeledDotGraph :: Directionality -> (v -> Text) -> (e -> Text) -> Graph g e v -> DotGraph Source #
This is a more convenient variant of toDotGraph
that just labels
all of the nodes and edges. It does not color or style anything.