ColorSchemePerAttribute_double¶
-
class
samson.DataModel.Color.
ColorSchemePerAttribute_double
(self: samson.DataModel.Color.ColorSchemePerAttribute_double) → None¶ Bases:
samson.DataModel.DataGraph.ColorScheme
This class describes a color scheme based on node attributes. Only for internal use.
SAMSON API: SBDColorSchemePerAttribute
-
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
-