Export as SVG: parts not visible in result

Use this forum to post Vensim related questions.
Post Reply
kleemax
Senior Member
Posts: 150
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

Export as SVG: parts not visible in result

Post by kleemax »

There are some issues with SVG export:
1. Resulting SVG sometimes has a page size smaller than the content, meaning that parts of the model are not visible because they are ouside the page boundary
2. Most of the model disappears behind an invisible cropping mask. If the SVG is opened in an external software you manage to select the elements of the model anyway, you can move it underneath this cropping mask. It's like looking through a small window at the model that shows only part of them model. Sometimes it can happen though that the cropping mask is by coincidence on a part of the model that has no elements, then it's impossible to grab anything and this workaround doesn't work.
3. The export is missing a feedback to the user as to when it is complete. That is problematic, because if the result is opened to early, parts are missing simply because they haven't been written into the file yet

I have experimented with moving the model on the canvas in vensim, and this seems to influence the result of the export.

Note that I am aware that I the export command applies only to what is selected in Vensim prior to export, so that is not the issue here.
tomfid
Administrator
Posts: 3993
Joined: Wed May 24, 2006 4:54 am

Re: Export as SVG: parts not visible in result

Post by tomfid »

This is ticketed for improvement.

If you open the svg in an editor like Inkscape and ungroup the drawing, the cropped elements are revealed (at least in some cases I've encountered).
kleemax
Senior Member
Posts: 150
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

Re: Export as SVG: parts not visible in result

Post by kleemax »

Thanks for working on improving this!
Edit in Inkscape is exactly my workaround at present. But it sometimes gets tricky if the crop contains nothing (whole model is outside the cropped area).
tomfid
Administrator
Posts: 3993
Joined: Wed May 24, 2006 4:54 am

Re: Export as SVG: parts not visible in result

Post by tomfid »

Whole model outside the crop is a weird behavior I haven't seen. If you have a simple example ...
kleemax
Senior Member
Posts: 150
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

Re: Export as SVG: parts not visible in result

Post by kleemax »

Export as wmf is now a new feature (10.3) and helps when copy-pasting to MS-office (word, excel)
kleemax
Senior Member
Posts: 150
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

Re: Export as SVG: parts not visible in result

Post by kleemax »

tomfid wrote: Thu Jan 16, 2025 6:00 pm Whole model outside the crop is a weird behavior I haven't seen. If you have a simple example ...
these problems only appear after having worked on a larger model for a while. Has never happened to me in a simple, relatively fresh model.
Post Reply