Class DirectedSubGraph

    • Constructor Detail

      • DirectedSubGraph

        public DirectedSubGraph​(DirectedSubGraphExpression expression)
        Creates a new sub graph with directed edges.
        Parameters:
        expression - The sub graph expression.
    • Method Detail

      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • getExpression

        public final E getExpression()
        Specified by:
        getExpression in interface IGraphDotSubGraph<S extends IGraphDotStatement,​E extends de.xima.fc.common.graphdot.AGraphDotSubGraphExpression<S>>
        Returns:
        The sub graph expression.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • write

        public final void write​(GraphDotModelWriter writer)
                         throws IOException
        Description copied from interface: IGraphDotElement
        Writes this element to the given writer, as a string in the graph dot language representing this element.
        Specified by:
        write in interface IGraphDotElement
        Parameters:
        writer - Writer to write to.
        Throws:
        IOException - When the writer could not be written to.
      • toGraphDotString

        public final String toGraphDotString()
        Description copied from interface: IGraphDotElement
        Creates a string in the graph dot language representing this element.
        Specified by:
        toGraphDotString in interface IGraphDotElement
        Returns:
        The graph dot representation of this graph dot element.