package bolt

  1. Overview
  2. Docs
val t : string
type properties = (string * string) list
type name = string
type alias = string
type color = float * float * float
val define_container_type : name:name -> ?typ:string -> ?alias:alias -> properties -> properties
val define_state_type : name:name -> typ:string -> ?alias:alias -> properties -> properties
val define_event_type : name:name -> typ:string -> ?alias:alias -> properties -> properties
val define_variable_type : name:name -> typ:string -> color:color -> ?alias:alias -> properties -> properties
val define_entity_value : name:name -> typ:string -> color:color -> ?alias:alias -> properties -> properties
val create_container : name:name -> typ:string -> ?container:name -> ?alias:alias -> properties -> properties
val destroy_container : name:name -> typ:string -> properties -> properties
val set_state : typ:string -> container:name -> value:string -> properties -> properties
val push_state : typ:string -> container:name -> value:string -> properties -> properties
val pop_state : typ:string -> container:name -> properties -> properties
val reset_state : typ:string -> container:name -> properties -> properties
val new_event : typ:string -> container:name -> value:string -> properties -> properties
val set_variable : typ:string -> container:name -> value:float -> properties -> properties
val add_variable : typ:string -> container:name -> value:float -> properties -> properties
val sub_variable : typ:string -> container:name -> value:float -> properties -> properties
val header : string list
val render : Event.t -> string
val layout : Layout.t
val layout_noheader : Layout.t
type type_kind =
  1. | Container
  2. | State
  3. | Event
  4. | Variable
  5. | Entity_value
exception Invalid_type of type_kind
module type Definitions = sig ... end
module type S = sig ... end
module Make (D : Definitions) : sig ... end
OCaml

Innovation. Community. Security.