DotNetGraph icon indicating copy to clipboard operation
DotNetGraph copied to clipboard

Add explicit name parameter

Open kokorins opened this issue 8 months ago • 1 comments

I would like to cover next case which I'm actively use to minimize the dot files:

digraph name {
    fontsize=48
    bgcolor="transparent"

    rankdir=LR;
    node [shape=box, style="rounded,filled", fillcolor="#333333", fontcolor="#ffffff"];

    {node [fillcolor="#952877"; color="#952877"]; purple} // <- this will be applied to all nodes in same group
    purple [label="Purple background with rounded corners"]
}

I propose to do minimal changes and extend DotNode element to accept any name including ones that needs to be quoted.

kokorins avatar Jun 30 '24 20:06 kokorins