Class UndirectedSubGraph
java.lang.Object
de.xima.fc.common.graphdot.UndirectedSubGraph
- All Implemented Interfaces:
IGraphDotElement, IGraphDotStatement, IGraphDotSubGraph<IUndirectedGraphDotStatement, UndirectedSubGraphExpression>, IUndirectedGraphDotStatement, Serializable
A sub graph statement with undirected edges.
subgraph "my-graph" {
foo -- bar;
};
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUndirectedSubGraph(UndirectedSubGraphExpression expression) Creates a new sub graph with undirected edges. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal inthashCode()final StringCreates a string in the graph dot language representing this element.final StringtoString()final voidwrite(GraphDotModelWriter writer) Writes this element to the given writer, as a string in the graph dot language representing this element.Methods inherited from interface IGraphDotElement
toGraphDotString, write
-
Constructor Details
-
UndirectedSubGraph
Creates a new sub graph with undirected edges.- Parameters:
expression- The sub graph expression.
-
-
Method Details
-
equals
-
getExpression
- Specified by:
getExpressionin interfaceIGraphDotSubGraph<S extends IGraphDotStatement, E extends de.xima.fc.common.graphdot.AGraphDotSubGraphExpression<S>>- Returns:
- The sub graph expression.
-
hashCode
-
write
Description copied from interface:IGraphDotElementWrites this element to the given writer, as a string in the graph dot language representing this element.- Specified by:
writein interfaceIGraphDotElement- Parameters:
writer- Writer to write to.- Throws:
IOException- When the writer could not be written to.
-
toGraphDotString
Description copied from interface:IGraphDotElementCreates a string in the graph dot language representing this element.- Specified by:
toGraphDotStringin interfaceIGraphDotElement- Returns:
- The graph dot representation of this graph dot element.
-
toString
-