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

dot/GraphViz diagrams are cut off #46

Open
define-private-public opened this issue Sep 26, 2021 · 3 comments
Open

dot/GraphViz diagrams are cut off #46

define-private-public opened this issue Sep 26, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@define-private-public
Copy link

define-private-public commented Sep 26, 2021

I recently upgraded to v1.6.0 (thanks for the project BTW). I use dot toe generate collaboration diagrams which are then placed in the docs. This is how they look. The first diagram is cut off to the right.

bad_graph_viz

@jothepro jothepro added the bug Something isn't working label Sep 26, 2021
@jothepro
Copy link
Owner

Hm, can you provide me some information on how I can reproduce that? Is the documentation publicly available so I can have a look at it? 🤔

@define-private-public
Copy link
Author

Unfortunately this is a private project. I do have a public one up and I was able to reproduce this when making the window's width smaller. The project is here: https://github.com/define-private-public/PSRayTracing

With my doxygen file here: https://pastebin.com/5v26jcJJ place that in the root of the repo, as well as doxygen-awesome.css. Then run Doxygen with dot/Graphviz installed. If you then open up the source and navigate to cxxopts::values Namespace reference page there should be some diagrams. Then when making the window less wide, it should start to cut off the graphs.

What's interesting is that there are already some larger graphs, But doxygen add a sort of "pan-zoom" tool for them.

@2bndy5
Copy link

2bndy5 commented Jan 1, 2022

What's interesting is that there are already some larger graphs, But doxygen add a sort of "pan-zoom" tool for them.

This is because your Doxyfile has

# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
# enable generation of interactive SVG images that allow zooming and panning.
#
# Note that this requires a modern browser other than Internet Explorer. Tested
# and working are Firefox, Chrome, Safari, and Opera.
# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
# the SVG files visible. Older versions of IE do not have SVG support.
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
 
INTERACTIVE_SVG        = YES

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

3 participants