NodeBadge

data class NodeBadge(val color: ColorRGBa, val label: String? = null, val tooltip: String? = null, val key: Any? = null)(source)

a marker on a GraphNode, see NodeEditor.badges: a dot in color, or a pill with label in it, like a count; tooltip shows when the pointer rests on it, key tells it from the other badges of the node, by default its index

Constructors

Link copied to clipboard
constructor(color: ColorRGBa, label: String? = null, tooltip: String? = null, key: Any? = null)

Properties

Link copied to clipboard
val color: ColorRGBa
Link copied to clipboard
val key: Any?
Link copied to clipboard
Link copied to clipboard