The Backbone of JointJS Elements
jointjs_cell.RdIt is a backbone structure used by jointjs to construct elements for a diagram. Usually you don't initiate cells directly. Rather, it is more efficient to create its children and grandchildren, e.g.: jointjs_circle, jointjs_image, jointjs_rectangle, etc.
See also
Other root-classes:
jointjs_graph,
jointjs_paper
Methods
jointjs_cell$new()
Initialise a jointjs_cell class object.
Usage
jointjs_cell$new(id, type, z, ...)Arguments
idA unique identifier (
character) used to identify the cell. It can be used to link cells together, by referring to these ids. By default a 16 character random hexadecimal code is generated as an id.typeSpecifies the type of cell this object represents. Its advised to create cells using its or grand-children (e.g. jointjs_circle, jointjs_rectangle, etc.). They will automatically assign the correct type for you. By default it will be set to
"standard.Rectangle"(a rectangle).zA depth index. It will determine the plotting order on its parent container.
...Parameters that will be set as SVG attributes to this object.