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:

  • Method Details

    • getProperties

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