A C D E F G I M N P R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAttribute(String, String) - Method in class com.alexmerz.graphviz.objects.Graph
-
Adds a graph attribute.
- addEdge(Edge) - Method in class com.alexmerz.graphviz.objects.Graph
-
Adds an Edge object to the graph
- addGenericEdgeAttribute(String, String) - Method in class com.alexmerz.graphviz.objects.Graph
-
Sets a generic attribute for all edges of this graph.
- addGenericGraphAttribute(String, String) - Method in class com.alexmerz.graphviz.objects.Graph
-
Sets a generic attribute for clusters of this graph.
- addGenericNodeAttribute(String, String) - Method in class com.alexmerz.graphviz.objects.Graph
-
Sets a generic attribute for all nodes of this graph This attributes are NOT additionally stored in the Node objects.
- addNode(Node) - Method in class com.alexmerz.graphviz.objects.Graph
-
Adds a Node object to the graph
- addSubgraph(Graph) - Method in class com.alexmerz.graphviz.objects.Graph
-
Adds a sub graph to a graph
C
- com.alexmerz.graphviz - package com.alexmerz.graphviz
-
This package contains the Tokenizer and Parser classes to create a datastructure from an Reader containing a Graphviz document.
- com.alexmerz.graphviz.cli - package com.alexmerz.graphviz.cli
-
This package contains a tool to view the data of a Graphviz document.
- com.alexmerz.graphviz.objects - package com.alexmerz.graphviz.objects
-
This package contains the objects representing a Graph including all its Node, Edges and Subgraphs.
- create(int, int, int) - Static method in class com.alexmerz.graphviz.GraphvizTokenMgrError
-
Creates a new Token Error.
D
- DIRECTED - Static variable in class com.alexmerz.graphviz.objects.Graph
-
Constant for an directed graph
- DIRECTED_EDGE_NOT_ALLOWED - Static variable in class com.alexmerz.graphviz.GraphvizTokenMgrError
-
Error code, if a directed edge operator was detected in a graph.
E
- Edge - Class in com.alexmerz.graphviz.objects
-
This class represents an Edge in a Graph.
- Edge() - Constructor for class com.alexmerz.graphviz.objects.Edge
-
Creates an empty edge object
- Edge(PortNode, PortNode, int) - Constructor for class com.alexmerz.graphviz.objects.Edge
-
Creates an Edge
F
- findNode(Id) - Method in class com.alexmerz.graphviz.objects.Graph
-
Tries to find a node of a Graph depending on the given Id object.
G
- getAttribute(String) - Method in class com.alexmerz.graphviz.objects.Edge
-
Returns the value of an edge attribute
- getAttribute(String) - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns an attribute of the Graph or null if not found.
- getAttribute(String) - Method in class com.alexmerz.graphviz.objects.Node
-
Returns the attribute of the node
- getAttributes() - Method in class com.alexmerz.graphviz.objects.Edge
-
Returns all attributes of this edge
- getAttributes() - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns all attributes of the graph.
- getAttributes() - Method in class com.alexmerz.graphviz.objects.Node
-
Returns all attributes of the edge.
- getEdges() - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns all edges of this graph.
- getGenericEdgeAttribute(String) - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns a generic attribute of an edge
- getGenericGraphAttribute(String) - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns a generic attribute of the clusters in the graph
- getGenericNodeAttribute(String) - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns a generic attribute of a node
- getId() - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns the Id object to the Graph
- getId() - Method in class com.alexmerz.graphviz.objects.Id
-
Returns the Id of the object Empty string means, that this object has no Id.
- getId() - Method in class com.alexmerz.graphviz.objects.Node
-
Returns the id object for the node
- getLabel() - Method in class com.alexmerz.graphviz.objects.Id
-
Returns the label of the object
- getNames() - Method in class com.alexmerz.graphviz.objects.GraphAttributes
- getNode() - Method in class com.alexmerz.graphviz.objects.PortNode
-
Returns the node
- getNodes(boolean) - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns all Nodes of the graph.
- getPort() - Method in class com.alexmerz.graphviz.objects.PortNode
-
Returns the port of the node
- getSource() - Method in class com.alexmerz.graphviz.objects.Edge
-
Returns the source node of the edge
- getSubgraphs() - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns a list of all sub graphs.
- getTarget() - Method in class com.alexmerz.graphviz.objects.Edge
-
Returns the target node of the edge
- getType() - Method in class com.alexmerz.graphviz.objects.Edge
-
Returns the type of the edge.
- getType() - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns the type of the graph
- Graph - Class in com.alexmerz.graphviz.objects
-
This class represents a graph.
- Graph() - Constructor for class com.alexmerz.graphviz.objects.Graph
- GraphAttributes - Class in com.alexmerz.graphviz.objects
-
This class will be used in the future to validate graph attributes.
- GraphAttributes() - Constructor for class com.alexmerz.graphviz.objects.GraphAttributes
- GraphvizTokenMgrError - Class in com.alexmerz.graphviz
-
Error helper class to create nicer lexer/parser messages
- GraphvizTokenMgrError() - Constructor for class com.alexmerz.graphviz.GraphvizTokenMgrError
- gvv - Class in com.alexmerz.graphviz.cli
-
Main application class to view a flat dump of the Graph datastructure in a Graphviz document
- gvv() - Constructor for class com.alexmerz.graphviz.cli.gvv
I
- Id - Class in com.alexmerz.graphviz.objects
-
This object is used to identify graphs and nodes Note, that an object may contain an id or a label.
- Id() - Constructor for class com.alexmerz.graphviz.objects.Id
- isEqual(Id) - Method in class com.alexmerz.graphviz.objects.Id
-
Compares the Ids.
- isStrict() - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns wether the graph is strict or not
- isSubgraph() - Method in class com.alexmerz.graphviz.objects.Node
-
Returns true, if the node object represents a subgraph.
M
- main(String[]) - Static method in class com.alexmerz.graphviz.cli.gvv
-
The main method
N
- Node - Class in com.alexmerz.graphviz.objects
-
This class represents a node in a graph.
- Node() - Constructor for class com.alexmerz.graphviz.objects.Node
P
- PortNode - Class in com.alexmerz.graphviz.objects
-
This class is an extended Node object containing Port information of a node in an edge.
- PortNode() - Constructor for class com.alexmerz.graphviz.objects.PortNode
-
Creates an empty PortNode object
- PortNode(Node) - Constructor for class com.alexmerz.graphviz.objects.PortNode
-
Creates a PortNode with a given Node and empty port
- PortNode(Node, String) - Constructor for class com.alexmerz.graphviz.objects.PortNode
-
Creates a PortNode with the given Node and Port
R
- representsSubgraph(boolean) - Method in class com.alexmerz.graphviz.objects.Node
-
Sets, if the node represents a subgraph
S
- setAttribute(String, String) - Method in class com.alexmerz.graphviz.objects.Edge
-
Sets the value of an attribute
- setAttribute(String, String) - Method in class com.alexmerz.graphviz.objects.Node
-
Sets the attribute of the node
- setId(Id) - Method in class com.alexmerz.graphviz.objects.Graph
-
Sets the Id object for this graph
- setId(Id) - Method in class com.alexmerz.graphviz.objects.Node
-
Sets the Id object for this node
- setId(String) - Method in class com.alexmerz.graphviz.objects.Id
-
Sets the object id.
- setLabel(String) - Method in class com.alexmerz.graphviz.objects.Id
-
Sets the label of the object
- setNode(Node) - Method in class com.alexmerz.graphviz.objects.PortNode
-
Sets the node
- setPort(String) - Method in class com.alexmerz.graphviz.objects.PortNode
-
Sets the port of the node
- setSource(PortNode) - Method in class com.alexmerz.graphviz.objects.Edge
-
Sets the source node of the edge
- setStrict(boolean) - Method in class com.alexmerz.graphviz.objects.Graph
-
Sets if the graph is strict or not.
- setTarget(PortNode) - Method in class com.alexmerz.graphviz.objects.Edge
-
Sets the target node of the edge
- setType(int) - Method in class com.alexmerz.graphviz.objects.Edge
-
Sets the type of the edge
- setType(int) - Method in class com.alexmerz.graphviz.objects.Graph
-
Sets the type of the graph
T
- toString() - Method in class com.alexmerz.graphviz.objects.Edge
-
Returns the String representation of the edge
- toString() - Method in class com.alexmerz.graphviz.objects.Graph
-
Returns a String representation of the graph
- toString() - Method in class com.alexmerz.graphviz.objects.Id
-
Returns the String representation of this Id
- toString() - Method in class com.alexmerz.graphviz.objects.Node
-
Returns a string representation of this node If the node is a subgraph, an empty string will be returned
- toString() - Method in class com.alexmerz.graphviz.objects.PortNode
-
Returns the String representation
U
- UNDIRECTED - Static variable in class com.alexmerz.graphviz.objects.Graph
-
Constant for an undirected graph
- UNDIRECTED_EDGE_NOT_ALLOWED - Static variable in class com.alexmerz.graphviz.GraphvizTokenMgrError
-
Error code, if a undirected edge operator was detected in a digraph.
All Classes All Packages