|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphView
Graph view define a subgraph, i.e. a subset of the original graph.
GraphModel
has at least a single view, called the main
view, which contains 100% of the graph. Other views can be defined by users
to define subgraphs with a reduced number of nodes and edges. This is typically
used by filters, which returns filtered graphs.
GraphModel
also contains the visible view, which is the
main view by default but can be set to configure the view that is visualized.
What exactly contains the view? The complete hierarchy of nodes, the edges and meta-edges. Each view has separate hierarchy, therefore grouping and meta-edges are independent.
Note that nodes' id is unique, and is not touched by views.
To get the graph in the visible view, see GraphModel.getGraphVisible()
.
FiltersAPI
.
GraphModel.setVisibleView(org.gephi.graph.api.GraphView)
.
Method Summary | |
---|---|
GraphModel |
getGraphModel()
Returns the graph model this view belongs. |
int |
getViewId()
Returns this view unique identifier. |
boolean |
isMainView()
Returns true if this view is the main view. |
Method Detail |
---|
int getViewId()
boolean isMainView()
true
if this view is the main view. Each
GraphModel
has a single main view, which contains all nodes
and edges in the model.
true
if this is the main view, false
otherwise.GraphModel getGraphModel()
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |