createDefaultLayers
createDefaultLayers():
Layer[]
Defined in: layer/Layer.ts:141
Create the standard set of layers, in the same relative stacking order
real GoJS uses. Only Grid/Background/Default/Foreground are
currently drawn into by the renderer; ViewportBackground/
ViewportForeground/Adornment/Tool exist so diagram.findLayer(...)/
part.layerName = ... round-trip the same names as real GoJS, even
though adornments and tool handles aren’t yet routed through them (they
render as a separate overlay pass today).
Returns
Sección titulada «Returns»Layer[]