goccy / go-graphviz

Go bindings for Graphviz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apply All node Attribute

swoo-k opened this issue · comments

commented

Hi,

I want to apply all node to same attribute.

digraph "" {
        graph [bb="0,0,0,0",
                nodesep=0.1,
                rankdir=TB,
                ranksep=0.5,
                stylesheet="../css/svg.css"
        ];
        node [label="\N"]; // → this is auto generated.. 
}

I checked node line is created. But I cannot rich by API.
How can I do that?