public class GraphBuildController extends Object
| Constructor and Description |
|---|
GraphBuildController(Config currentConfig,
GraphBuildView view,
ToolBox toolbox)
Constructor
|
GraphBuildController(GraphBuildView view,
ToolBox toolbox)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteGraph()
Delete current graph
|
void |
generateGraphFromConfig()
Takes the configuration and generates the Graph
|
Config |
getConfig() |
NodeView |
getOutputNode()
Get output node of the graph
|
void |
layoutGraph()
Refresh the layout of the graph
|
void |
setConfig(Config currentConfig)
Set currentConfig
|
void |
setConfigFromGraph()
Takes the graph and writes the information to the config
|
public GraphBuildController(Config currentConfig, GraphBuildView view, ToolBox toolbox)
currentConfig - configview - corresponding viewtoolbox - toolbox of mainviewpublic GraphBuildController(GraphBuildView view, ToolBox toolbox)
view - viewtoolbox - toolboxpublic void setConfig(Config currentConfig)
currentConfig - CurrentConfig of Limes querypublic void generateGraphFromConfig()
public void setConfigFromGraph()
public NodeView getOutputNode()
public void deleteGraph()
public void layoutGraph()
public Config getConfig()
Copyright © 2019. All rights reserved.