ColorSchemePerAttribute_dimensionlessΒΆ

Please refer to samson.DataModel.DataGraph.ColorScheme.

See also

SAMSON API: sbdcolorschemeperattribute

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