CellInput
type CellInput<Element, Link> = Element | Link | DiaCell;
What you may pass when handing a cell to the library: either a plain element
or link record, or a live dia.Cell instance. Accepted by every
cell-mutation entry point — initialCells, resetCells, and the cell setters.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
Element extends ElementJSONInit | ElementJSONInit | element record shape |
Link extends LinkJSONInit | LinkJSONInit | link record shape |