Add support of `-Goverlap=scale` flag
Opened this issue · 4 comments
I'm currently trying to do the same as in Python:
sfdp -x -Goverlap=scale -Tpng ./assets/graph.dot > ./assets/data.png
But I can't figure out how to pass -G
flag
Hi. There is currently no support for the -G
flag in https://graphviz.readthedocs.io/en/stable/api.html#graphviz.render.
I guess you could try to use subprocess.run()
from the stdlib to run that rendering command from Python (documentation) in the meantime.
As I understood, graphviz
Python lib already does the running of the standard graphviz
tooling under the hood. So in may case, I can do so, but do you want to add that to the Python lib?
running of the standard graphviz tooling under the hood
That's the sole purpose of this library: making it easier to run http://graphviz.org from Python (i.e. an interface for Python). :)
do you want to add that to the Python lib?
IIUC this is a feature request: that's generally fine of course. It just might take a while until someone gets around to imlementing it (if you are not interested in doing so yourself). I just tried to suggest a possible workaround until it is is implemented.
I just tried to suggest a possible workaround until it is implemented.
Thank you for that!
So I'll keep this issue for now, until somebody (or even me) will find a way to add that