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

        final String prologue = config.getIndent() + "subgraph "
                + quote(subgraph.getId())
                + " { "
                + config.getNewline();

        // Render the statements within this subgraph.
        final Statements statements = subgraph.getStatements();
        final StatementsRenderer statementsRenderer = new StatementsRenderer();
        final String renderedStatements = statementsRenderer.render(config.cloneAndChangeIndentation(1), statements);

        // All Done.
        return prologue + renderedStatements + config.getNewline() + config.getIndent() + "}";
    }
@Override
    protected String doRender(final RenderConfiguration config, final Subgraph subgraph) {

        final String prologue = config.getIndent() + "subgraph "
                + quote(subgraph.getId())
                + " { "
                + config.getNewline();

        // Render the statements within this subgraph.
        final Statements statements = subgraph.getStatements();
        final StatementsRenderer statementsRenderer = new StatementsRenderer();
        final String renderedStatements = statementsRenderer.render(config.cloneAndChangeIndentation(1), statements);

        // All Done.
        return prologue + renderedStatements + config.getNewline() + config.getIndent() + "}";
    }
@ Override protected String doRender ( final RenderConfiguration config , final Subgraph subgraph ) { final String prologue = config . getIndent ( ) + "subgraph " + quote ( subgraph . getId ( ) ) + " { " + config . getNewline ( ) ; // Render the statements within this subgraph. final Statements statements = subgraph . getStatements ( ) ; final StatementsRenderer statementsRenderer = new StatementsRenderer ( ) ; final String renderedStatements = statementsRenderer . render ( config . cloneAndChangeIndentation ( 1 ) , statements ) ; // All Done. return prologue + renderedStatements + config . getNewline ( ) + config . getIndent ( ) + "}" ; }
{@inheritDoc}
{