Interface VisualMappingFunctionFactory

public interface VisualMappingFunctionFactory
Factory for VisualMappingFunctions. Implementation of this will be provided as an service. One mapping type should have one factory.

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.
  • Method Details

    • createVisualMappingFunction

      <K, V> VisualMappingFunction<K,V> createVisualMappingFunction(String attributeName, Class<K> attrValueType, VisualProperty<V> vp)
      Create a new VisualMappingFunction.
      Type Parameters:
      K - Data type of controlling attribute.
      V - Data type of VisualProperty, such as Double, String, etc.
      attributeName - Controlling attribute name. This is a name of the column in a data table.
      attrValueType - Data type of controlling attribute.
      vp - VisualProperty used in the new mapping
      new VisualMappingFunction.
    • getMappingFunctionType

      Class<?> getMappingFunctionType()
      Returns the type of this VisualMappingFunctionFactory.
      the type of this VisualMappingFunctionFactory.