Interface HandleFactory

  • public interface HandleFactory
    Factory of the handle object.

    Module: presentation-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 Detail

      • createHandle

        Handle createHandle​(CyNetworkView graphView,
                            View<CyEdge> view,
                            double x,
                            double y)
        Creates a new instance of the Handle.
        x - x position of the handle (absolute position)
        y - y position of the handle (absolute position)
        instance of new handle.