DiagramMetaData

@Serializable
data class DiagramMetaData(val name: String = "Diagram", val description: String = "", val source: String = "", val anchorBindings: Map<String, String> = emptyMap(), val error: String = "") : NodeMetaData(source)

Payload for a Diagram node.

Constructors

Link copied to clipboard
constructor(name: String = "Diagram", description: String = "", source: String = "", anchorBindings: Map<String, String> = emptyMap(), error: String = "")

Properties

Link copied to clipboard

Mapping from SVG anchor id (k_* data attribute on an SVG element) to the node id whose live state should be overlaid on that element.

Link copied to clipboard

Optional free-form description shown in the editor's info pane.

Link copied to clipboard
open override val error: String

Last known error message for this node, or empty string when healthy.

Link copied to clipboard

Display name shown on the project chip and in the editor.

Link copied to clipboard

Filename of the SVG inside the server's diagram directory.