Possible to manipulate rendered size of graph?

supermathie
Mon, 27 Mar 2023 18:53:28 +0000
Support

There’s a knob to enable/disable rasterising (svg=false); are there any other options available?

Specifically: can we control the size of the resulting image after rendering an image? I don’t necessarily want it full-width.

e.g.:

[graphviz svg=false]
digraph  {
  node [color=grey, shape=box, fontname="Helvetica", fontsize=13]
  edge [arrowsize = 0.75]
  bgcolor = seashell

  A [shape=septagon]
  B
  C
  D
  E

 A -> {B,C} -> E
 D -> E
}
[/graphviz]

doesn’t need to be full-width, it could easily be the “default” size:

(top is rendered png, bottom is svg)

1 сообщение - 1 участник

Читать всю тему