package ezjs_cytoscape
Bindings for Cytoscape
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.tar.gz
md5=72d9f30def84cd807c55da0e6ebb6fb3
sha512=47e92abf3c40218923df176b601211d252fca314fdafb300355de31d5c3a2a983e6e508bc3d6c964e9130c8249a818a1c45a05370cb23beeebcf60f9c026ca52
doc/ezjs_cytoscape/Ezjs_cytoscape/index.html
Module Ezjs_cytoscape
Source
Source
type cytoscape_cs =
(props Js_of_ocaml.Js.t -> cytoscape Js_of_ocaml.Js.t) Js_of_ocaml.Js.constr
Source
val default_style :
Js_of_ocaml.Js.Unsafe.any style Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Source
val mk_graph :
?style:
Js_of_ocaml.Js.Unsafe.any style Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t ->
?layout:layout_options Js_of_ocaml.Js.t ->
?props:DataItem.t Js_of_ocaml.Js.t list ->
string ->
props Js_of_ocaml.Js.t
Source
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
Source
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
Source
val random_layout :
< layout :
< name :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_prop >
Js_of_ocaml.Js.t ->
layout Js_of_ocaml.Js.t Js_of_ocaml.Js.meth.. >
Js_of_ocaml.Js.t ->
layout Js_of_ocaml.Js.t
Source
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>