ColorSchemePerAttribute_float¶

Please refer to samson.DataModel.DataGraph.ColorScheme.

See also

SAMSON API: SBDColorSchemePerAttribute

class samson.DataModel.Color.ColorSchemePerAttribute_float(self: samson.DataModel.Color.ColorSchemePerAttribute_float) → 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