package mlpost

  1. Overview
  2. Docs
OCaml library on top of Metapost

Install

Dune Dependency

Authors

Maintainers

Sources

mlpost-0.9.tbz
sha256=9fad08fbc364a5989f65da507b03d63a3e2fb67aea160c59f43022a14b2897de
sha512=b8192bb89b274164b7f297c856a3272e16cce6e4d0e15da7801ecf67babb79434b928789534c55e87c012965c7e93ea54371c53c3e14f3fe6c25d25b5747dec8

doc/mlpost.dot/Mlpost_dot/Dot/Make/index.html

Module Dot.Make

Parameters

Signature

type node
type edge = node * node
val mknode : B.t -> node

creates an abstract node from a boxlike

val place : ?orient:[ `TB | `LR | `BT | `RL ] -> node list -> edge list -> B.t list * Mlpost.Path.t list

place ~orient nodes edges returns a concrete representation of the abstract directed graph composed by nodes linked by edges. The concrete representation is composed by the list of all the boxlikes of nodes placed by dot and by the list of paths representing the edges drawn by dot

  • parameter orient

    specifies the orientation of the graph :

    • `TB top to bottom (default)
    • `LR left to right
    • `BT bottom to top
    • `RL right to left
OCaml

Innovation. Community. Security.