Skip to content

pivotick v3.0.0


pivotick / GraphUI / PropertyEntry

Interface: PropertyEntry ​

Defined in: interfaces/GraphUI.ts:832

Represents a single property entry to display in the properties panel.

  • name is the label or key of the property.
  • value is the value associated to the key for the node or edge.

A string (for either field) renders as plain text; to render HTML, pass an HTMLElement (or a function returning one). Since 1.4.0 string values are no longer parsed as markup — wrap HTML in an element instead.

Remarks ​

Synchronous only. Fetch the rows instead: an async PropertiesPanel.nodePropertiesMap resolves once and then hands back plain entries, rather than putting a spinner in every cell.

Properties ​

name ​

name: string | HTMLElement | (element) => string | HTMLElement

Defined in: interfaces/GraphUI.ts:833


value ​

value: string | HTMLElement | (element) => string | HTMLElement

Defined in: interfaces/GraphUI.ts:834