Interface ContinuousMapping<K,V>

Type Parameters:
K - Generic type of the attribute mapped.
V - Generic type of the VisualProperty used in this mapping.
All Superinterfaces:

public interface ContinuousMapping<K,V> extends VisualMappingFunction<K,V>

An interface describing a continuous mapping from attribute value to visual property.

Fully Supported Node Visual Properties

Fully Supported Edge Visual Properties

Partially Supported Node Visual Properties

Module: vizmap-api

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


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
  • Field Details

  • Method Details

    • getAllPoints

      List<ContinuousMappingPoint<K,V>> getAllPoints()
      Gets all Data Points.
      List of ContinuousMappingPoint objects.
    • addPoint

      void addPoint(K value, BoundaryRangeValues<V> brv)
      Adds a New Data Point.
    • removePoint

      void removePoint(int index)
      Removes a Point from the List.
      index - The index of the Point to remove.
    • getPointCount

      int getPointCount()
      Gets Total Point Count.
      the total point count.
    • getPoint

      ContinuousMappingPoint<K,V> getPoint(int index)
      Gets Specified Point.
      index - Index Value.