Improved performance for large number of nodes

Post questions on how to use or achieve an effect in Inkscape.
mikev3
Posts: 1
Joined: Mon Nov 07, 2016 6:21 am

Improved performance for large number of nodes

Postby mikev3 » Mon Nov 07, 2016 6:43 am

I have 4, 100x100 heat maps that I would like to work with in inkscape. These SVGs have a minimum of 10,000 nodes since each element in the matrix gets a colored rectangle. Inkscape runs incredibly slowly when trying to edit even a single one of these heatmaps. I've read all the performance tips but it seems like no matter what I try inkscape is running too slow. Here is a typical image Image, note the large blocks of color that are the same, this is typical but doesn't need to happen. None the less write now they are seperate nodes in the SVG

Here are my system specs

OS: Ubuntu 16.04
Memory: 8gb
Processor: Intel® Core™ i7-6500U CPU @ 2.50GHz × 4
Graphics: Intel® HD Graphics 520 (Skylake GT2)

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Improved performance for large number of nodes

Postby Moini » Mon Nov 07, 2016 8:18 am

Can you upload one of the images, so we can take a look at the structure?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Improved performance for large number of nodes

Postby prkos » Mon Nov 07, 2016 8:22 am

Where exactly do you need 10000 nodes? Simply by looking at it doesn't seem like it would strain the system too much, there must be a huge number of objects, do you need such detail?

Have you tried working in outline mode? Ctrl + number 5 on numerical keyboard to switch between modes.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

User avatar
Maestral
Posts: 982
Joined: Sat Aug 27, 2011 7:10 am

Re: Improved performance for large number of nodes

Postby Maestral » Tue Nov 08, 2016 12:46 am

Most likely heat map is divided (traced) in dozens of rectangles, representing different temperature. Still, it looks like there`s not more then 3 or 4 dozens of rectangles and that should not produce 10K of nodes but these numbers, if they are also traced - 10K is the least of nodes one could expect.

The whole thing might be easier to handle if numbers are left as text and heat map turned into the gradient. Not sure if there`s a way to do it other then manually but am sure it would bring some ease.
:tool_zoom: <<< click! - but, those with a cheaper tickets should go this way >>> :!:


Return to “Help with using Inkscape”