--- layout: posts title: Api - IModel Interface ---
Optional Caption object.
Optional exporter options for this model.
Optional layer of this model.
Optional map of models within this model.
An author may wish to add notes to this model instance.
Optional origin location of this model.
Optional map of path objects in this model.
A model may want to specify its type, but this value is not employed yet.
Optional unit system of this model. See UnitType for possible values.
Generated using TypeDoc
A model is a composite object which may contain a map of paths, or a map of models recursively.
Example:
var m = { paths: { "line1": { type: 'line', origin: [0, 0], end: [1, 1] }, "line2": { type: 'line', origin: [0, 0], end: [-1, -1] } } };