hasForcedLabel
hasForcedLabel(
data):boolean
Defined in: packages/sigma/src/utils/display-data.ts:9
Predicates over node/edge display data.
These check the resolved visibility/labelVisibility/backdropVisibility fields produced by the styles pipeline. They tolerate missing fields so they can be called on partial shapes (e.g. before defaults are merged).
Parameters
Section titled “Parameters”labelVisibility?
Section titled “labelVisibility?”string
visibility?
Section titled “visibility?”string
Returns
Section titled “Returns”boolean