public class AppearanceModelImpl extends Object implements AppearanceModel
AppearanceModel.GraphFunction| Constructor and Description |
|---|
AppearanceModelImpl(Workspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
Function |
getEdgeFunction(org.gephi.graph.api.Graph graph,
AppearanceModel.GraphFunction graphFunction,
Class<? extends Transformer> transformer)
Returns the edge function for the given graph function identifier and
transformer.
|
Function |
getEdgeFunction(org.gephi.graph.api.Graph graph,
org.gephi.graph.api.Column column,
Class<? extends Transformer> transformer)
Returns the node function for the given column and transformer.
|
Function[] |
getEdgeFunctions(org.gephi.graph.api.Graph graph)
Returns all edge functions for the given graph.
|
Partition |
getEdgePartition(org.gephi.graph.api.Graph graph,
org.gephi.graph.api.Column column)
Returns the edge partition for this graph and column.
|
Function |
getNodeFunction(org.gephi.graph.api.Graph graph,
AppearanceModel.GraphFunction graphFunction,
Class<? extends Transformer> transformer)
Returns the node function for the given graph function identifier and
transformer.
|
Function |
getNodeFunction(org.gephi.graph.api.Graph graph,
org.gephi.graph.api.Column column,
Class<? extends Transformer> transformer)
Returns the node function for the given column and transformer.
|
Function[] |
getNodeFunctions(org.gephi.graph.api.Graph graph)
Returns all node functions for the given graph.
|
Partition |
getNodePartition(org.gephi.graph.api.Graph graph,
org.gephi.graph.api.Column column)
Returns the node partition for this graph and column.
|
Workspace |
getWorkspace()
Return the workspace this model is associated with
|
boolean |
isLocalScale()
Returns
true if rankings are using the currently visible
graph as a scale. |
void |
setLocalScale(boolean localScale) |
public AppearanceModelImpl(Workspace workspace)
public Workspace getWorkspace()
AppearanceModelgetWorkspace in interface AppearanceModelpublic boolean isLocalScale()
AppearanceModeltrue if rankings are using the currently visible
graph as a scale. If false the complete graph is used to
determine minimum and maximum values, the ranking scale.isLocalScale in interface AppearanceModeltrue if using a local scale, false if
global scalepublic Function[] getNodeFunctions(org.gephi.graph.api.Graph graph)
AppearanceModelgetNodeFunctions in interface AppearanceModelgraph - graphpublic Function[] getEdgeFunctions(org.gephi.graph.api.Graph graph)
AppearanceModelgetEdgeFunctions in interface AppearanceModelgraph - graphpublic Function getNodeFunction(org.gephi.graph.api.Graph graph, org.gephi.graph.api.Column column, Class<? extends Transformer> transformer)
AppearanceModelgetNodeFunction in interface AppearanceModelgraph - graphcolumn - columntransformer - transformer classpublic Function getEdgeFunction(org.gephi.graph.api.Graph graph, org.gephi.graph.api.Column column, Class<? extends Transformer> transformer)
AppearanceModelgetEdgeFunction in interface AppearanceModelgraph - graphcolumn - columntransformer - transformer classpublic Function getNodeFunction(org.gephi.graph.api.Graph graph, AppearanceModel.GraphFunction graphFunction, Class<? extends Transformer> transformer)
AppearanceModelgetNodeFunction in interface AppearanceModelgraph - graphgraphFunction - graphFunctiontransformer - transformer classpublic Function getEdgeFunction(org.gephi.graph.api.Graph graph, AppearanceModel.GraphFunction graphFunction, Class<? extends Transformer> transformer)
AppearanceModelgetEdgeFunction in interface AppearanceModelgraph - graphgraphFunction - graphFunctiontransformer - transformer classpublic Partition getNodePartition(org.gephi.graph.api.Graph graph, org.gephi.graph.api.Column column)
AppearanceModelgetNodePartition in interface AppearanceModelgraph - graphcolumn - columnpublic Partition getEdgePartition(org.gephi.graph.api.Graph graph, org.gephi.graph.api.Column column)
AppearanceModelgetEdgePartition in interface AppearanceModelgraph - graphcolumn - columnpublic void setLocalScale(boolean localScale)
Copyright © 2007–2017. All rights reserved.