@graphty/graphty-element / index / LayoutWarningEvent
Interface: LayoutWarningEvent ​
Defined in: graphty-element/src/events.ts:450
Emitted when a layout could not do everything it was asked. The data kept it from placing every node (W_NO_POSITION), or it ran without options it does not take (W_UNKNOWN_OPTION), or a 2D view replaced its dimension options (W_DIMENSION_OVERRIDDEN). It carries a warning code and its parameters, never a sentence.
Properties ​
code ​
code:
GraphtyWarningCode
Defined in: graphty-element/src/events.ts:455
What happened, such as W_NO_POSITION or W_UNKNOWN_OPTION.
layoutType ​
layoutType:
string
Defined in: graphty-element/src/events.ts:453
The layout that reported it, as setLayout was given it.
params ​
params:
Readonly<Record<string,unknown>>
Defined in: graphty-element/src/events.ts:457
The code's parameters, as the code's documentation lists them.
type ​
type:
"layout-warning"
Defined in: graphty-element/src/events.ts:451