class

ConstructionKit::Node

Inherits JSON::Serializable < Reference < Object

A node in the graph with its parameters

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

children
Source
children=(children : GraphData | Nil)
Source
id=(id : Int32)
Source
param_f(key : String, default : Float64 = 0.0) : Float64
Source
param_i(key : String, default : Int32 = 0) : Int32
Source
param_s(key : String, default : String = "") : String
Source
params
Source
params=(params : Hash(String, JSON::Any))
Source
type
Source
type=(type : String)
Source