Uses of Class
weka.gui.graphvisualizer.GraphNode
-
Uses of GraphNode in weka.gui.graphvisualizer
Modifier and TypeMethodDescriptionHierarchicalBCEngine.getNodes()
give access to set of graph nodesLayoutEngine.getNodes()
give access to set of graph nodesModifier and TypeMethodDescriptionvoid
HierarchicalBCEngine.setNodesEdges
(ArrayList<GraphNode> nodes, ArrayList<GraphEdge> edges) Sets the nodes and edges for this LayoutEngine.void
LayoutEngine.setNodesEdges
(ArrayList<GraphNode> nodes, ArrayList<GraphEdge> edges) This method sets the nodes and edges vectors of the LayoutEnginestatic void
DotParser.writeDOT
(String filename, String graphName, ArrayList<GraphNode> nodes, ArrayList<GraphEdge> edges) This method saves a graph in a file in DOT format.static void
BIFParser.writeXMLBIF03
(String filename, String graphName, ArrayList<GraphNode> nodes, ArrayList<GraphEdge> edges) This method writes a graph in XMLBIF ver.ModifierConstructorDescriptionConstructor (if our input is an InputStream)Constructor (if our input is a String)Dot parser ConstructorHierarchicalBCEngine
(ArrayList<GraphNode> nodes, ArrayList<GraphEdge> edges, int nodeWidth, int nodeHeight) Constructor - takes in FastVectors of nodes and edges, and the initial width and height of a nodeHierarchicalBCEngine
(ArrayList<GraphNode> nodes, ArrayList<GraphEdge> edges, int nodeWidth, int nodeHeight, boolean edgeConcentration) Constructor - takes in FastVectors of nodes and edges, the initial width and height of a node, and a boolean value to indicate if the edges should be concentrated.