ColorSchemePerAttribute_intΒΆ
Please refer to samson.DataModel.DataGraph.ColorScheme
.
See also
SAMSON API: SBDColorSchemePerAttribute
-
class
samson.DataModel.Color.
ColorSchemePerAttribute_int
(self: samson.DataModel.Color.ColorSchemePerAttribute_int) → NoneΒΆ Bases:
samson.DataModel.DataGraph.ColorScheme
This is a base class that describes a color scheme based on node attributes. Warning: Only for internal use.
-
getColor
(self: samson.DataModel.DataGraph.ColorScheme, node: samson.DataModel.DataGraph.Node = None) → List[float]ΒΆ Returns a color given a node
-
isSerializable
ΒΆ Returns true when the class is serializable
-