Safe Haskell | None |
---|---|
Language | Haskell2010 |
This adapter adds edge labels (but not vertex labels) to graphs.
It only supports addLabeledEdge
, not addEdge
. See LabeledGraph
for more details.
Documentation
data EdgeLabeledMGraph g el s Source #
Instances
data EdgeLabeledGraph g el Source #
Instances
newEdgeLabeledGraph :: (MGraph g, PrimMonad m, MonadRef m) => m (g m) -> m (EdgeLabeledMGraph g nl m) Source #
newSizedEdgeLabeledGraph :: (MGraph g, PrimMonad m, MonadRef m) => (Int -> Int -> m (g m)) -> Int -> Int -> m (EdgeLabeledMGraph g el m) Source #
mapEdgeLabel :: EdgeLabeledGraph g el -> (el -> el') -> EdgeLabeledGraph g el' Source #