Table of Contents

Class OutputDisplayNodeRenderer

Namespace
FlowGraph.Avalonia.Rendering.NodeRenderers
Assembly
FlowGraph.Avalonia.dll

Renders an output display node using the white headered base with large content area.

public class OutputDisplayNodeRenderer : WhiteHeaderedNodeRendererBase, IEditableNodeRenderer, IDataNodeRenderer, INodeRenderer
Inheritance
OutputDisplayNodeRenderer
Implements
Inherited Members

Properties

ContentVerticalPadding

Vertical padding for content inside the body.

protected override double ContentVerticalPadding { get; }

Property Value

double

Methods

CreateContent(Node, INodeProcessor?, NodeRenderContext)

Creates the content area control(s).

protected override Control CreateContent(Node node, INodeProcessor? processor, NodeRenderContext context)

Parameters

node Node
processor INodeProcessor
context NodeRenderContext

Returns

Control

GetDefaultLabel()

Gets the default label to display when the node has no label set.

protected override string GetDefaultLabel()

Returns

string

GetHeight(Node, FlowCanvasSettings)

Gets the default height of the node in canvas units (before scaling). Return null to use the default height from settings.

public override double? GetHeight(Node node, FlowCanvasSettings settings)

Parameters

node Node
settings FlowCanvasSettings

Returns

double?

GetWidth(Node, FlowCanvasSettings)

Gets the default width of the node in canvas units (before scaling). Return null to use the default width from settings.

public override double? GetWidth(Node node, FlowCanvasSettings settings)

Parameters

node Node
settings FlowCanvasSettings

Returns

double?

UpdateFromPortValues(Control, INodeProcessor)

Updates the visual when port values change. Called when connected input values change.

public override void UpdateFromPortValues(Control visual, INodeProcessor processor)

Parameters

visual Control

The node's visual control.

processor INodeProcessor

The node's processor.