Interface VisualStyleFactory

public interface VisualStyleFactory
Factory for VisualStyles. This object will be provided as an OSGi service.

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

    • createVisualStyle

      VisualStyle createVisualStyle(String title)
      Create a new VisualStyle.
      title - Title of the visual style. This can be null, but in that case, default title will be used. Note: This is NOT an identifier of this object, just a title.
      New VisualStyle object.
    • createVisualStyle

      VisualStyle createVisualStyle(VisualStyle original)
      Create a copy of given VisualStyle.
      original - VisualStyle to be copied from.
      New VisualStyle copied from the original.