-
Notifications
You must be signed in to change notification settings - Fork 4
XDSMjs API
Rémi Lafage edited this page Apr 27, 2020
·
1 revision
-
XDSM_V1
,XDSM_V2
constants : class for XDSM v1 or v2 div elements -
XDSMjs(config)
where config is a configuration object-
createXdsm(xdsmFormat)
: create XDSM hierarchy wrt to xdsmFormat -
createSelectableXdsm(xdsmFormat, callback)
: create single-level selectable XDSM wherecallback
is a function receiving{ fr: fromNodeId, to: toNodeId }
when a node or a connection is clicked and return aSelectableXdsm
which can be updated withupdateMdo(xdsmFormat)
andsetSelection({ fr: fromNodeId, to: toNodeId })
.
-