package ezjs_cytoscape

  1. Overview
  2. Docs
class type position = object ... end
class type 'a style = object ... end
module DataItem : sig ... end
class type layout_options = object ... end
class type layout = object ... end
class type props = object ... end
class type cytoscape = object ... end
val cytoscape_cs : cytoscape_cs
val default_layout : layout_options Js_of_ocaml.Js.t
val position : int -> int -> position Js_of_ocaml.Js.t
val node : ?pos:(int * int) -> string -> DataItem.t Js_of_ocaml.Js.t
val edge : ?id:string -> string -> string -> DataItem.t Js_of_ocaml.Js.t
val add_node : ?pos:(int * int) -> < add : DataItem.t Js_of_ocaml.Js.t -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> string -> 'res
val add_edge : < add : DataItem.t Js_of_ocaml.Js.t -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> source:string -> target:string -> 'res
val run_layout : layout Js_of_ocaml.Js.t -> unit
val on : < on : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> 't44 -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> string -> string -> 't44 -> 'res
OCaml

Innovation. Community. Security.