Interface. Imodel Layout Engine
sprotty-protocol / IModelLayoutEngine
Defined in: diagram-services.ts:63
This service is responsible for the “macro layout” of a model, that is the positioning and sizing of the main structural elements of a model. In a graph, macro layout affects positions of nodes and routings of edges, but not necessarily the layout of labels and compartments inside a node, which are often arranged on the client side (“micro layout”).
layout(
model
,index?
):SModelRoot
|Promise
<SModelRoot
>
Defined in: diagram-services.ts:64
SModelRoot
| Promise
<SModelRoot
>