Interface NewNetworkSelectedNodesAndEdgesTaskFactory

  • All Superinterfaces:
    NetworkTaskFactory

    public interface NewNetworkSelectedNodesAndEdgesTaskFactory
    extends NetworkTaskFactory
    This interface provides a task iterator for creating networks from selected nodes and edges.

    Module: core-task-api

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

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>core-task-api</artifactId>
    </dependency>

    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

      • createTaskIterator

        TaskIterator createTaskIterator​(CyNetwork network)
        Returns a TaskIterator that creates a new network from the selected nodes and edges in the given network. The given observer will be notified once the new network is complete.
        Specified by:
        createTaskIterator in interface NetworkTaskFactory
        Parameters:
        network - The network whose selected nodes and edges should be used in the new network.
        Returns:
        a TaskIterator that creates a new network from the selected nodes and edges in the given network.