Define what should be displayed in the sidebar's main header slot for node or edges.
These maps also name elements elsewhere — the tooltip's header, the table's Name
column, [[node]] note references — so they are about naming, not about one
panel. The strip along the top of the canvas is a different thing entirely: switch
that off with GraphUI.topBar.
Custom renderer for the main header. This content will override the default sidebar main header.
Default
undefined
Example
(element) =>`element id: ${element.id}`
Remarks
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.
Define what should be displayed in the sidebar's main header slot for node or edges.
These maps also name elements elsewhere — the tooltip's header, the table's
Namecolumn,[[node]]note references — so they are about naming, not about one panel. The strip along the top of the canvas is a different thing entirely: switch that off with GraphUI.topBar.