package ocamlgraph

  1. Overview
  2. Docs
A generic graph library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocamlgraph-2.2.0.tbz
sha256=b0956210863cc24f480203ba3c2ef06dfae5579536a05744364e7de58822b230
sha512=257cdd5fb90337b3e3682cade1269c1d181f3124e569a731909f49bbfbe581ab529ac401472fb9ef57166ac34d8ebadfa6a32c93665f38f5a335982d5e5dc0e1

doc/ocamlgraph/Graph/DGraphModel/index.html

Module Graph.DGraphModelSource

Abstract graph model

Sourceexception DotError of string
Sourceclass type ['vertex, 'edge, 'cluster] abstract_model = object ... end

Immutable graph model. Layout accessors, iterators and membership functions.

Sourcemodule Make (G : Graphviz.GraphWithDotAttrs) : sig ... end

This functor creates a model from a graph

Sourcetype cluster = string
Sourceval read_dot : ?cmd:string -> string -> dotg_model

Creates a model from a dot file.

Sourceval read_xdot : string -> dotg_model

Creates a model from an xdot file (the layout is not recomputed)