go-graphviz icon indicating copy to clipboard operation
go-graphviz copied to clipboard

Is image position working with SVG renderer?

Open spacedub opened this issue 3 years ago • 4 comments

Position appears in the dot output (imagepos=ml) but the final SVG export seem to not account for it

Anyone having had luck with this?

spacedub avatar Oct 14 '22 22:10 spacedub

Screen Shot 2022-10-14 at 3 49 52 PM

spacedub avatar Oct 14 '22 22:10 spacedub

FWIW:

  1. using go-graphviz to export to PNG in that case fails silently
  2. using graphviz dot to convert between DOT to SVG works as expected (image appears on the left)
  3. graphviz dot succesfully exports to PNG

spacedub avatar Oct 14 '22 22:10 spacedub

Note: I am on macOS, comparing with graphviz dot 5.0.1, from homebrew.

Brew is compiling with

      --disable-debug
      --disable-dependency-tracking
      --prefix=#{prefix}
      --disable-php
      --disable-swig
      --disable-tcl
      --with-quartz
      --without-freetype2
      --without-gdk
      --without-gdk-pixbuf
      --without-gtk
      --without-poppler
      --without-qt
      --without-x
      --with-gts

spacedub avatar Oct 14 '22 22:10 spacedub