public interface CyNetworkViewFactory
CyNetworkViewobjects. Modules which need to create view models should import this as a service.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
CyNetworkView createNetworkView(CyNetwork network)
CyNetworkobject. 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
Copyright 2011 Cytoscape Consortium. All rights reserved.