Skip to content

Parser does not honour cluster naming convention #112

@Gwaptiva

Description

@Gwaptiva

First off, a great thank you for a wonderful tool. I may not be a fan of the builder-style API, (probably too dumb to use it), so I build a string to feed the parser, and then manipulate the resultant object when I have to.

Here a suggestion for a small improvement. Not a bug, not critical either.

Parsing a DOT file/string like
digraph L { subgraph cluster_root { .... } }

The parser correctly creates me a MutableGraph with a nested MutableGraph, but the nested graph's isCluster method teturns false.

I realise that clusters aren't a DOT/Graphviz standard, but they are listed in the language spec as a convention. Would be nice if the parser honoured this.

Thanks,

Jaap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions