Cytoscape 3.0.1 API

Interface CyNetworkViewFactory

public interface CyNetworkViewFactory

Factory for CyNetworkView objects. Modules which need to create view models should import this as a service.

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 Summary
 CyNetworkView createNetworkView(CyNetwork network)
          Create a CyNetworkView from a CyNetwork object.

Method Detail


CyNetworkView createNetworkView(CyNetwork network)
Create a CyNetworkView from a CyNetwork object. This method will create a view regardless of the viewThreshold property. This method only creates a CyNetworkView instance and does nothing with respect to visual style, layout, or CyNetworkViewManager.

network - Network for which the CyNetworkView is to be created
the view model for the network data model

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.