Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.4.2 · function

separateLinkPresentation

ソース

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

Split connection style from facts. Unstyled idless links are preserved.

separateLinkPresentation(link: Link): { link: TopologyLink; presentation?: { linkId: string; style: { minLength?: number; opacity?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number } } }

パラメーター

名前 型 説明 既定値
link Link 追加説明はありません。 —

戻り値

{ link: TopologyLink; presentation?: { linkId: string; style: { minLength?: number; opacity?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number } } }

libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-document.ts:307