public class GraphUtils extends Object
Modifier and Type | Method and Description |
---|---|
static DirectedWeightedGraph |
createGraph(Collection<SWCPoint> nodes,
boolean assignDistancesToWeights)
Deprecated.
|
static DirectedWeightedGraph |
createGraph(Tree tree)
Deprecated.
|
static Tree |
createTree(org.jgrapht.Graph<SWCPoint,?> graph)
Deprecated.
|
static DirectedWeightedGraph |
getSimplifiedGraph(DirectedWeightedGraph graph)
Deprecated.
|
static void |
main(String[] args) |
static Window |
show(DirectedWeightedGraph graph)
Displays a graph in SNT's "Dendrogram Viewer" featuring UI commands for
interactive visualization and export options.
|
@Deprecated public static DirectedWeightedGraph createGraph(Collection<SWCPoint> nodes, boolean assignDistancesToWeights)
@Deprecated public static DirectedWeightedGraph createGraph(Tree tree) throws IllegalArgumentException
IllegalArgumentException
@Deprecated public static Tree createTree(org.jgrapht.Graph<SWCPoint,?> graph)
Tree
from a graph.graph
- the graph to be converted.@Deprecated public static DirectedWeightedGraph getSimplifiedGraph(DirectedWeightedGraph graph)
public static Window show(DirectedWeightedGraph graph)
graph
- the graph to be displayedpublic static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.