GzBaseNode constructor
GzBaseNode({})
label is optional. If null, will become id.
Side effect: GzBaseNode.globalKeys is increased by one.
Implementation
GzBaseNode({
required this.id,
required this.children,
String? label,
this.color,
this.fontColor,
this.shape,
}) : label = label ?? id {
key = globalKeys++;
}