You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grouping logic in svg exports of visualization plots (and possibly other plots) is disadvantageous in a number of ways:
Every single data point resides inside a a group (containing this single object). The styling is applied to the group and not to the object
Same for the marker proteins, the graph lines, the text, etc.
Countless (many thousands!) empty groups are present in the svg
All these one-object-groups reside in one super group
This results in severe performance issues when trying to use Inkscape to modify t-sne plots where several thousand proteins are displayed. Regrouping operations can be impossible even with Inkscape graphic options reduced to a bare minimum (M1 MacBook Pro).
I suggest the following modifications:
Style is applied to objects directly
Objects of a same type (e.g, circles, plot lines, text) are grouped into one group. This relates well to the logical overlaying (text is in front of circles that are in front of plot lines)
Empty groups should be removed from the svg
The text was updated successfully, but these errors were encountered:
We are relying on Qt SVG to export the plots. The excessive use of groups is a known behavior of Qt SVG support.
The code could be migrated to Qt 6.5+ where new work started on the SVG generator. Previously, SVG Tiny 1.2 was produced, now also SVG 1.1 can be produced.
I don't know if there will be significant changes to the output.
It is also possible to perform post-processing on the SVG's XML to re-arrange, merge, remove groups.
Grouping logic in svg exports of visualization plots (and possibly other plots) is disadvantageous in a number of ways:
This results in severe performance issues when trying to use Inkscape to modify t-sne plots where several thousand proteins are displayed. Regrouping operations can be impossible even with Inkscape graphic options reduced to a bare minimum (M1 MacBook Pro).
I suggest the following modifications:
The text was updated successfully, but these errors were encountered: