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
-