DBVIEW
|
Public Member Functions | |
void | setRankdir (String in_direction) |
String | getRankdir () |
void | setNodesep (Float in_value) |
void | setRankset (Float in_value) |
void | setCompound (Boolean in_value) |
void | addSubGraph (SubGraph in_subgraph) |
void | addEdge (Edge in_edge) |
void | addNode (Node in_node) |
String | toString () |
Private Attributes | |
String | __rankdir = "LR" |
Float | __nodesep = null |
Float | __ranksep = null |
Boolean | __compound = Boolean.FALSE |
ArrayList< SubGraph > | __subgraphs = new ArrayList<SubGraph>() |
ArrayList< Node > | __nodes = new ArrayList<Node>() |
ArrayList< Edge > | __edges = new ArrayList<Edge>() |
This class represents a directed graph.
Definition at line 32 of file DiGraph.java.
void org.dbview.utils.dot.DiGraph.addEdge | ( | Edge | in_edge | ) |
Add an edge to the graph.
in_edge | Edge to add. |
Definition at line 127 of file DiGraph.java.
void org.dbview.utils.dot.DiGraph.addNode | ( | Node | in_node | ) |
Add a node to the graph.
in_node | Node to add. |
Definition at line 133 of file DiGraph.java.
void org.dbview.utils.dot.DiGraph.addSubGraph | ( | SubGraph | in_subgraph | ) |
Add a sub graph to the graph.
in_subgraph | Sub graph to add. |
Definition at line 121 of file DiGraph.java.
String org.dbview.utils.dot.DiGraph.getRankdir | ( | ) |
This method returns the graph's layout.
Definition at line 94 of file DiGraph.java.
void org.dbview.utils.dot.DiGraph.setCompound | ( | Boolean | in_value | ) |
This method set the compound's flag.
in_value | TRUE or FALSE. |
Definition at line 115 of file DiGraph.java.
void org.dbview.utils.dot.DiGraph.setNodesep | ( | Float | in_value | ) |
This method sets the minimum distance between two nodes.
in_value | Minimum distance to set. |
Definition at line 101 of file DiGraph.java.
void org.dbview.utils.dot.DiGraph.setRankdir | ( | String | in_direction | ) |
Set the initial orientation of a record node.
in_direction | This string defines the direction. Values can be:
|
Definition at line 83 of file DiGraph.java.
void org.dbview.utils.dot.DiGraph.setRankset | ( | Float | in_value | ) |
This method sets the minimum distance between two graph's ranks.
in_value | Minimum distance to set. |
Definition at line 108 of file DiGraph.java.
String org.dbview.utils.dot.DiGraph.toString | ( | ) |
This method returns a string that represents the directed graph.
Definition at line 139 of file DiGraph.java.
Boolean org.dbview.utils.dot.DiGraph.__compound = Boolean.FALSE [private] |
See GRAPHVIZ' documentation for "compound".
Definition at line 57 of file DiGraph.java.
Referenced by org.dbview.utils.dot.DiGraph.setCompound(), and org.dbview.utils.dot.DiGraph.toString().
ArrayList<Edge> org.dbview.utils.dot.DiGraph.__edges = new ArrayList<Edge>() [private] |
The list of edges.
Definition at line 72 of file DiGraph.java.
Referenced by org.dbview.utils.dot.DiGraph.addEdge(), and org.dbview.utils.dot.DiGraph.toString().
ArrayList<Node> org.dbview.utils.dot.DiGraph.__nodes = new ArrayList<Node>() [private] |
The list of nodes.
Definition at line 67 of file DiGraph.java.
Referenced by org.dbview.utils.dot.DiGraph.addNode(), and org.dbview.utils.dot.DiGraph.toString().
Float org.dbview.utils.dot.DiGraph.__nodesep = null [private] |
See GRAPHVIZ' documentation for "nodesep".
Definition at line 45 of file DiGraph.java.
Referenced by org.dbview.utils.dot.DiGraph.setNodesep(), and org.dbview.utils.dot.DiGraph.toString().
String org.dbview.utils.dot.DiGraph.__rankdir = "LR" [private] |
The initial orientation of a record node depends on the rankdir attribute. If this attribute is TB (the default) or TB, corresponding to vertical layouts, the top-level fields in a record are displayed horizontally. If, however, this attribute is LR or RL, corresponding to horizontal layouts, the top-level fields are displayed vertically.
See GRAPHVIZ' documentation for "rankdir".
Definition at line 39 of file DiGraph.java.
Referenced by org.dbview.utils.dot.DiGraph.getRankdir(), org.dbview.utils.dot.DiGraph.setRankdir(), and org.dbview.utils.dot.DiGraph.toString().
Float org.dbview.utils.dot.DiGraph.__ranksep = null [private] |
See GRAPHVIZ' documentation for "ranksep".
Definition at line 51 of file DiGraph.java.
Referenced by org.dbview.utils.dot.DiGraph.setRankset(), and org.dbview.utils.dot.DiGraph.toString().
ArrayList<SubGraph> org.dbview.utils.dot.DiGraph.__subgraphs = new ArrayList<SubGraph>() [private] |
The list of sub graphs.
Definition at line 62 of file DiGraph.java.
Referenced by org.dbview.utils.dot.DiGraph.addSubGraph(), and org.dbview.utils.dot.DiGraph.toString().