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 |
---|---|
GraphModel |
getGraphModel()
Returns the graph model for the current workspace, or
null
if project is empty. |
GraphModel |
getGraphModel(Workspace workspace)
Returns the graph model for the given
workspace . |
GraphModel getGraphModel()
null
if project is empty.GraphModel getGraphModel(Workspace workspace)
workspace
.workspace
- the workspace that graph model is to be returnedworkspace
's graph modelCopyright © 2007–2015 Gephi Consortium. All rights reserved.