visualization/visualization-api/src/main/java/se/jguru/nazgul/tools/visualization/api/dot/GraphRenderer.java
@Override
    protected String doRender(final RenderConfiguration config, final Graph graph) {

        // First, configure the RenderConfiguration for directed-ness.
        config.setDirectedGraph(graph.isDigraph());

        // We should use a 3-step rendering strategy.
        final String prologue =
                config.getIndent() + (graph.isStrict() ? "strict " : "")
                        + (graph.isDigraph() ? "digraph" : "graph")
                        + " " + quote(graph.getId())
                        + " {" + config.getNewline();

        // Render all the statements within the supplied Graph.
        // Increase the indentation level to achieve pretty printing.
        //
        // Also, note that the render() method appends a NEWLINE to the result.
        final String renderedStatements = statementsRenderer.render(
                config.cloneAndChangeIndentation(1),
                graph.getStatements());

        // Render the epilogue.
        final String epilogue = config.getIndent() + "}";

        // All Done.
        return prologue + renderedStatements + epilogue;
    }
@Override
    protected String doRender(final RenderConfiguration config, final Graph graph) {

        // First, configure the RenderConfiguration for directed-ness.
        config.setDirectedGraph(graph.isDigraph());

        // We should use a 3-step rendering strategy.
        final String prologue =
                config.getIndent() + (graph.isStrict() ? "strict " : "")
                        + (graph.isDigraph() ? "digraph" : "graph")
                        + " " + quote(graph.getId())
                        + " {" + config.getNewline();

        // Render all the statements within the supplied Graph.
        // Increase the indentation level to achieve pretty printing.
        //
        // Also, note that the render() method appends a NEWLINE to the result.
        final String renderedStatements = statementsRenderer.render(
                config.cloneAndChangeIndentation(1),
                graph.getStatements());

        // Render the epilogue.
        final String epilogue = config.getIndent() + "}";

        // All Done.
        return prologue + renderedStatements + epilogue;
    }
{@inheritDoc}