graphite-0.9.4.0: Graphs and networks library

Safe HaskellNone
LanguageHaskell2010

Data.Graph.Visualize

Synopsis

Documentation

plotUGraph :: (Hashable v, Ord v, PrintDot v, Show v, Show e) => UGraph v e -> IO ThreadId Source #

Plot an undirected UGraph

plotUGraphPng :: (Hashable v, Ord v, PrintDot v, Show v, Show e) => UGraph v e -> FilePath -> IO FilePath Source #

Plot an undirected UGraph to a PNG image file

plotDGraph :: (Hashable v, Ord v, PrintDot v, Show v, Show e) => DGraph v e -> IO ThreadId Source #

Plot a directed DGraph

plotDGraphPng :: (Hashable v, Ord v, PrintDot v, Show v, Show e) => DGraph v e -> FilePath -> IO FilePath Source #

Plot a directed DGraph to a PNG image file

plotUGraphEdgeLabeled :: (Hashable v, Ord v, PrintDot v, Show v, Show e) => UGraph v e -> IO ThreadId Source #

Same as plotUGraph but render edge labels

plotDGraphEdgeLabeled :: (Hashable v, Ord v, PrintDot v, Show v, Show e) => DGraph v e -> IO ThreadId Source #

Same as plotDGraph but render edge labels

labeledNodes :: (Graph g, Show v) => g v e -> [(v, String)] Source #

labeledEdges :: (Hashable v, Eq v, Show e) => UGraph v e -> [(v, v, String)] Source #