A function that computes the list of edge properties to display.
May be async — return a promise of the entries and the panel shows a
placeholder until it resolves.
OptionalenabledWhether the sidebar shows a properties panel at all. false removes it and its
separator, leaving the header, the neighbours panel and any extra panels.
A function that computes the list of node properties to display.
May be async — return a promise of the entries and the panel shows a
placeholder until it resolves.
OptionalrenderCustom renderer for the property panel. This content will override the default sidebar property panel.
A returned string renders as plain text; return an HTMLElement to render HTML.
May be async: the slot shows a placeholder until it resolves, and a result
arriving after the selection moved on is dropped.
Return (or resolve to) undefined to hand the selection back to the default
panel: the nodePropertiesMap / edgePropertiesMap rows for one
element, the aggregated table for several. Return null to draw nothing.
Represents the configuration for the properties panel in the graph UI's sidebar
Defines how to compute and display properties for nodes and edges.
Default