c0fec0de / anytree

Python tree data library
Apache License 2.0
947 stars 133 forks source link

What options are there for nodeattrfunc in dotexporter #193

Closed ondiekisteven closed 2 years ago

ondiekisteven commented 2 years ago

Hi, I am trying to export data into a picture. I want it to display something like a menu. The problem is i cant figure out what options are there for nodeattrfunc, which should decorate the node. The example given shows one such option which is using shape=diamond. I wanted to know what other options are available, or where I can find them. Thanks

eckp commented 2 years ago

DotExporter exports to the Graphviz DOT language, so there you can find an overview of all attributes: https://www.graphviz.org/doc/info/attrs.html#h:uses

ondiekisteven commented 2 years ago

Thanks.