public interface CyNetworkViewFactory
CyNetworkView
objects.
Modules which need to create view models should import this as a service.Module: viewmodel-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
CyNetworkView |
createNetworkView(CyNetwork network)
Create a
CyNetworkView from a CyNetwork object. |
CyNetworkView createNetworkView(CyNetwork network)
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 createdCopyright 2011-2015 Cytoscape Consortium. All rights reserved.