public interface GraphController
This controller is a service and can therefore be found in Lookup:
GraphController gc = Lookup.getDefault().lookup(GraphController.class);
| Modifier and Type | Method and Description |
|---|---|
org.gephi.graph.api.GraphModel |
getGraphModel()
Returns the graph model for the current workspace, or
null
if project is empty. |
org.gephi.graph.api.GraphModel |
getGraphModel(Workspace workspace)
Returns the graph model for the given
workspace. |
org.gephi.graph.api.GraphModel getGraphModel()
null
if project is empty.org.gephi.graph.api.GraphModel getGraphModel(Workspace workspace)
workspace.workspace - the workspace that graph model is to be returnedworkspace's graph modelCopyright © 2007–2017. All rights reserved.