Interface CreateNetworkViewTaskFactory

  • All Superinterfaces:

    public interface CreateNetworkViewTaskFactory
    extends NetworkCollectionTaskFactory
    This interface provides a task iterator for creating network views.

    Module: core-task-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

      • createTaskIterator

        TaskIterator createTaskIterator​(Collection<CyNetwork> networks,
                                        CyNetworkViewFactory factory)
        Use this method to create a network view for each of the passed networks. The CyNetworkView objects will actually be created by the passed CyNetworkViewFactory.
        networks - a non-null collection of CyNetworks
        factory - the network view factory which will be used to create the views.
        A TaskIterator object containing one or more Task objects to execute.