Interface CyCustomGraphics2<T extends CustomGraphicLayer>

All Superinterfaces:
CyCustomGraphics<T>, VisualPropertyValue

public interface CyCustomGraphics2<T extends CustomGraphicLayer> extends CyCustomGraphics<T>, VisualPropertyValue
Just an extension of CyCustomGraphics which provides a way for the custom graphics instance to define itself as a set of properties.

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.

Module: presentation-api

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

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>presentation-api</artifactId>
</dependency>
  • Method Details

    • getProperties

      Map<String,Object> getProperties()
      Provides an optional map of key/value properties which define the custom graphics instance.
      Returns:
      A map of key/value properties.