Gephi Toolkit Javadoc

org.gephi.graph.api
Interface GraphController


public interface GraphController

Controller that maintain the graph models, one per Workspace.

This controller is a service and can therefore be found in Lookup:

GraphController gc = Lookup.getDefault().lookup(GraphController.class);

Author:
Mathieu Bastian

Method Summary
 GraphModel getModel()
          Returns the graph model for the current workspace, or null if project is empty.
 GraphModel getModel(Workspace workspace)
          Returns the graph model for the given workspace.
 

Method Detail

getModel

GraphModel getModel()
Returns the graph model for the current workspace, or null if project is empty.

Returns:
the current graph model

getModel

GraphModel getModel(Workspace workspace)
Returns the graph model for the given workspace.

Parameters:
workspace - the workspace that graph modl is to be returned
Returns:
the workspace's graph model

Gephi Toolkit Javadoc