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-api

    To use this in your app, include the following dependency in your POM:


    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 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.
        attributeSet - the set of attribute values.
        a map between an attribute type and a visual property type.
      • getDataType

        Class<V> getDataType()
        Returns the type of the visual property.
        the type of the visual property.