HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecabal-install-solver-3.18.1.0Haskell2010

Distribution.Solver.Modular.LabeledGraph

Wrapper around Data.Graph with support for edge labels

Contents
  1. Graphs
  2. Building graphs
  3. Graph properties
  4. Operations on the underlying unlabeled graph
Synopsis

Graphs

Building graphs

valuegraphFromEdges
  1. :: Ord key
  2. => [(node, key, [(edge, key)])]
  3. -> (Graph edge, Vertex -> (node, key, [(edge, key)]), key -> Maybe Vertex)

Construct an edge-labeled graph

This is a simple adaptation of the definition in Data.Graph

Graph properties

Operations on the underlying unlabeled graph