Setting rendered dimensions of raw DOT digraph

0 votes
asked Jan 15, 2018 in Wanted features by Ed Bordin
I'm using plantuml.1.2018.0 and graphviz 2.38.0 to render a digraph. Just wondering if there is currently any way to set the width of the rendered image in px? For my diagrams I can use "scale 1385 width", but this causes an error if I try to use it with digraph.

1 Answer

0 votes
answered Feb 18, 2018 by Anthony-Gaudino (5,720 points)
You can't use any of the PlantUML parameters when using DOT or you will get an error.

To set the size you must use the DOT graph parameters inside the DOT code.

Ex:

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKh9J2zABCXGI5Ievb800WWlEgKWKy5MmTZ0G4UXAB4aCn_8KJ9KYkK2gqbKqBLJIEAgvN98pKi16W80

The available parameters are here https://www.graphviz.org/doc/info/attrs.html
...