-
Notifications
You must be signed in to change notification settings - Fork 123
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 'on top' of the TOC #108
Comments
I've investigated this a bit and it seems like there is no easy solution because the svg is embedded in an iframe. In your case the fix should be pretty easy: .dotgraph iframe {
max-width: 100%;
} Out of curiosity: How are the interactive elements in the graph generated? Is this possible with plain doxygen and graphviz? |
Thanks for looking into this! This is a plain Doxygen/graphviz diagram. It turned interactive once we embedded your *.css stylesheet. At least this is what I thought that happened. We also migrated to Doxygen 1.9.6 during that time but I think what actually did the magic was your project ;-). First I thought this happens to all the images inside the documentation but you are right: This only happens with the \dot graphs... The source for this particular one is this:
So nothing too fancy... In the meantime for now we removed all the \tableofcontents tags from our online documentation since it really looks very nice anyway when your stylesheet is applied. |
Hm. There must be something different in your setup that made the interactive elements appear. It's definitely not part of the theme, I didn't even know one could embed Graphviz like this. In my case it renders like this: As you can see I am working on a fix where a scrollbar appears if the image is too wide. Not nice but it's all I can do for now I guess. I am using Graphviz 7.1.0 and Doxygen 1.9.6 |
You are right! I think this is what does the trick: https://www.doxygen.nl/manual/config.html#cfg_interactive_svg |
Just checked with our documentation and can confirm everything looks very nice now! Thanks a lot! |
Maybe somewhat related to #46 but not sure about this. Once the Window is below a certain width dot-Graphs will be drawn on top of the TOC on the right side:
This can be played around with here: https://www.matrix-vision.com/manuals/SDK_C/ImageAcquisition_page_0.html
This can be seen using Chrome or Firefox. Haven't tried other browsers. I am also not sure if the same would happen using the default Doxygen CSS. However here it probably doesn't surface since the TOC doesn't stay visible when scrolling down but simply moves out of sight...
We also integrated the
doxygen-awesome-interactive-toc.js
here. Once this kicks in everything goes back to normal.The text was updated successfully, but these errors were encountered: