Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is image position working with SVG renderer? #64

Open
spacedub opened this issue Oct 14, 2022 · 4 comments
Open

Is image position working with SVG renderer? #64

spacedub opened this issue Oct 14, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@spacedub
Copy link

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
Copy link
Author

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

@spacedub
Copy link
Author

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
Copy link
Author

spacedub commented Oct 14, 2022

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

@goccy goccy added the bug Something isn't working label Oct 27, 2024
@goccy
Copy link
Owner

goccy commented Oct 27, 2024

Sorry, as for the PNG/JPG renderers, they do not yet support imagepos attributes. Support for this will be added later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants