public class ShowGraph extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ShowGraph.MyEdge |
| Constructor and Description |
|---|
ShowGraph(org.jgrapht.Graph<Integer,org.jgrapht.graph.DefaultWeightedEdge> graph,
String[] names)
Constructor requires the graph and the labels of the vertices.
|
| Modifier and Type | Method and Description |
|---|---|
static org.jgrapht.ListenableGraph<String,ShowGraph.MyEdge> |
buildGraph(double threshold,
boolean showEdgeLabels) |
static org.jgrapht.Graph<Integer,org.jgrapht.graph.DefaultWeightedEdge> |
getGraph() |
String[] |
getNames() |
static void |
setGraph(org.jgrapht.Graph<Integer,org.jgrapht.graph.DefaultWeightedEdge> graph) |
void |
setNames(String[] names) |
void |
showGraph(double threshold,
boolean showEdgeLabels) |
public void showGraph(double threshold,
boolean showEdgeLabels)
public static org.jgrapht.ListenableGraph<String,ShowGraph.MyEdge> buildGraph(double threshold, boolean showEdgeLabels)
public static org.jgrapht.Graph<Integer,org.jgrapht.graph.DefaultWeightedEdge> getGraph()
public static void setGraph(org.jgrapht.Graph<Integer,org.jgrapht.graph.DefaultWeightedEdge> graph)
public String[] getNames()
public void setNames(String[] names)
Copyright © 2016 Biojava. All Rights Reserved.