package bonsai
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A library for building dynamic webapps, using Js_of_ocaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb
doc/bonsai.bonsai_experimental_dagviz/Bonsai_experimental_dagviz/To_vdom/Make/index.html
Module To_vdom.MakeSource
Parameters
module Name : sig ... endSignature
Source
val create :
curr_id:Name.Count.t Bonsai_web.Value.t ->
direction:[ `Left_to_right | `Top_to_bottom ] ->
node_to_vdom:
(Name.t Bonsai_web.Value.t ->
'a Bonsai_web.Value.t ->
Vdom.Node.t Bonsai_web.Computation.t) ->
edge_to_svg:
(edge:Edge.t Bonsai_web.Value.t ->
from:Position.t Bonsai_web.Value.t ->
to_:Position.t Bonsai_web.Value.t ->
Vdom.Node.t Bonsai_web.Computation.t) ->
'a t Bonsai_web.Value.t ->
(Vdom.Node.t Core.Or_error.t * Name.Count.t) Bonsai_web.Computation.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page