GraphMetaData

@Serializable
data class GraphMetaData(val name: String = "Data Graph", val sources: List<NodeIdentity> = emptyList(), val targets: List<NodeIdentity> = emptyList(), val timeRange: ComputeTimeRange = ComputeTimeRange.HOUR, val executionSource: List<ExecutionSource> = emptyList(), val error: String = "") : TargetingNodeMetaData(source)

Payload for a DataPoint.Graph node.

Implements TargetingNodeMetaData for consistency with the other source-bound node types, but only sources is meaningful — graphs read data, they don't write it. targets is kept empty.

Constructors

Link copied to clipboard
constructor(name: String = "Data Graph", sources: List<NodeIdentity> = emptyList(), targets: List<NodeIdentity> = emptyList(), timeRange: ComputeTimeRange = ComputeTimeRange.HOUR, executionSource: List<ExecutionSource> = emptyList(), error: String = "")

Properties

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

The set of ExecutionSources configured to wake this node. The node processor checks the incoming event against this list before doing any work. An empty list means "never auto-fire" — only manual execution.

Link copied to clipboard
Link copied to clipboard
open override val sources: List<NodeIdentity>

Upstream nodes whose values feed this one. For a filter or executor this is the data being read; for a trigger it is the value being watched.

Link copied to clipboard
open override val targets: List<NodeIdentity>

Not used for graphs but required by the TargetingNodeMetaData contract.

Link copied to clipboard

Lookback window the graph displays — drives the X-axis range.