HaloMakeElement
type HaloMakeElement = (params) => dia.Element | Partial<ElementRecord>;
Creates the element produced by a clone / fork handle. Return either a
JointJS model instance or a React ElementRecord (the latter is
converted to an ElementModel). ui.Halo positions the new element itself.
Parameters
| Parameter | Type |
|---|---|
params | HaloMakeElementParams |
Returns
dia.Element | Partial<ElementRecord>