package logtk

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

Pretty printing in the DOT (graphviz) format

type attribute = [
  1. | `Color of string
  2. | `Shape of string
  3. | `Weight of int
  4. | `Style of string
  5. | `Label of string
  6. | `Other of string * string
]

Dot attribute

val pp_enum : ?eq:('id -> 'id -> bool) -> ?hash:('id -> int) -> name:string -> Format.formatter -> ('id, attribute list, attribute list) Full.traverse_event Sequence.t -> unit
val pp : name:string -> ('id, attribute list, attribute list) t -> Format.formatter -> 'id Sequence.t -> unit

Pretty print the given graph (starting from the given set of vertices) to the channel in DOT format

OCaml

Innovation. Community. Security.