Divooka Reference

Node Graph Displays

2 nodes

On this page 2

Divooka Graph

Function

Overload 1 of 2

Signature
DivookaGraph -> SVGGraphics
    nodes: Divooka Abstract Standard Node Array
    positions: Vector 2D Array
SVGGraphics DivookaGraph(
    DivookaAbstractStandardNode[] nodes,
    Vector2D[] positions)

Generates an SVG-based graphical representation of a Divooka graph, with specified node positions.

Parameters

nametypedefaultdescription
nodesDivooka Abstract Standard Node Array—An array of Divooka nodes representing the graph structure.
positionsVector 2D Array—An array of 2D positions corresponding to each node's placement.

Returns

resultSVGGraphics

Overload 2 of 2

Signature
DivookaGraph(nodes: Divooka Abstract Standard Node Array) -> SVGGraphics
SVGGraphics DivookaGraph(DivookaAbstractStandardNode[] nodes)

Generates an SVG-based graphical representation of a Divooka graph with automatic node placement.

Parameters

nametypedefaultdescription
nodesDivooka Abstract Standard Node Array—An array of Divooka nodes representing the graph structure.

Returns

resultSVGGraphics
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Node Graph Displays
Package
Data Analytics

Divooka Node

Function

Generates an SVG-based graphical representation of an individual Divooka node.

Signature
DivookaNode -> SVGGraphics
    title: Text
    inputs: Text Array
    outputs: Text Array
SVGGraphics DivookaNode(
    string title,
    string[] inputs,
    string[] outputs)

Parameters

nametypedefaultdescription
titleText—The title or label of the node.
inputsText Array—An array of input labels for the node.
outputsText Array—An array of output labels for the node.

Returns

resultSVGGraphics
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Node Graph Displays
Package
Data Analytics