package irmin

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Irmin.DotSource

Dot provides functions to export a store to the Graphviz `dot` format.

Parameters

module S : Generic_key.S

Signature

Dot Export

Sourcetype db = S.t
Sourceval output_buffer : db -> ?html:bool -> ?depth:int -> ?full:bool -> date:(int64 -> string) -> Buffer.t -> unit Lwt.t

output_buffer t ?html ?depth ?full buf outputs the Graphviz representation of t in the buffer buf.

html (default is false) enables HTML labels.

depth is used to limit the depth of the commit history. None here means no limitation.

If full is set (default is not) the full graph, including the commits, nodes and contents, is exported, otherwise it is the commit history graph only.

OCaml

Innovation. Community. Security.