Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.6.1 · function

layoutNetwork

ソース

APIの説明は英語のcanonical sourceを表示しています。

Lays a model out: the one entry from what is written (and what the layers add) to where each box stands and how each line runs, with the arrangement that was solved into those places. The model is the truth; both are its projection, made fresh each time. The order a person put siblings in (`drawing.order`) is read here, so every caller, the Editor and the Server alike, draws the same model the same way.

layoutNetwork(model: NetworkModel, options: DrawOptions): Drawing

パラメーター

名前 型 説明 既定値
model NetworkModel 追加説明はありません。 —
options DrawOptions 追加説明はありません。 —

戻り値

Drawing

libs/@shumoku/core/src/libs/@shumoku/core/src/drawing/draw.ts:83