Interface DiscreteMappingGenerator<V>
-
- Type Parameters:
V- the type of the Visual Property.
public interface DiscreteMappingGenerator<V>Generates Discrete mapping for a set of attribute values and a Visual Property.Module:
vizmap-gui-apiTo use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>vizmap-gui-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Map<T,V>generateMap(Set<T> attributeSet)For a given set of attribute values, create discrete mapping.Class<V>getDataType()Returns the type of the visual property.
-
-
-
Method Detail
-
generateMap
<T> Map<T,V> generateMap(Set<T> attributeSet)
For a given set of attribute values, create discrete mapping.- Type Parameters:
T- the type of the attribute values.- Parameters:
attributeSet- the set of attribute values.- Returns:
- a map between an attribute type and a visual property type.
-
-