Package sc.fiji.snt.analysis.graph
Class GraphUtils
java.lang.Object
sc.fiji.snt.analysis.graph.GraphUtils
Utilities for Graph handling.
- Author:
- Tiago Ferreira
-
Method Summary
Modifier and TypeMethodDescriptionstatic DirectedWeightedGraphcreateGraph(Collection<SWCPoint> nodes, boolean assignDistancesToWeights) Deprecated.static DirectedWeightedGraphcreateGraph(Tree tree) Deprecated.static TreecreateTree(org.jgrapht.Graph<SWCPoint, ?> graph) Deprecated.static DirectedWeightedGraphDeprecated.static voidstatic Windowshow(DirectedWeightedGraph graph) Displays a graph in SNT's "Dendrogram Viewer" featuring UI commands for interactive visualization and export options.
-
Method Details
-
createGraph
@Deprecated public static DirectedWeightedGraph createGraph(Collection<SWCPoint> nodes, boolean assignDistancesToWeights) Deprecated. -
createGraph
@Deprecated public static DirectedWeightedGraph createGraph(Tree tree) throws IllegalArgumentException Deprecated.- Throws:
IllegalArgumentException
-
createTree
Deprecated.Creates aTreefrom a graph.- Parameters:
graph- the graph to be converted.- Returns:
- the Tree, assembled from the graph vertices
-
getSimplifiedGraph
Deprecated. -
show
Displays a graph in SNT's "Dendrogram Viewer" featuring UI commands for interactive visualization and export options.- Parameters:
graph- the graph to be displayed- Returns:
- the assembled window
-
main
-