• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

可扩展的可扩展矢量图形:将交互式SVG自动转换为多线程虚拟文档对象模型以实现快速渲染。

Scalable Scalable Vector Graphics: Automatic Translation of Interactive SVGs to a Multithread VDOM for Fast Rendering.

作者信息

Schwab Michail, Saffo David, Bond Nicholas, Sinha Shash, Dunne Cody, Huang Jeff, Tompkin James, Borkin Michelle A

出版信息

IEEE Trans Vis Comput Graph. 2022 Sep;28(9):3219-3234. doi: 10.1109/TVCG.2021.3059294. Epub 2022 Jul 29.

DOI:10.1109/TVCG.2021.3059294
PMID:33587700
Abstract

The dominant markup language for Web visualizations-Scalable Vector Graphics (SVG)-is comparatively easy to learn, and is open, accessible, customizable via CSS, and searchable via the DOM, with easy interaction handling and debugging. Because these attributes allow visualization creators to focus on design on implementation details, tools built on top of SVG, such as D3.js, are essential to the visualization community. However, slow SVG rendering can limit designs by effectively capping the number of on-screen data points, and this can force visualization creators to switch to Canvas or WebGL. These are less flexible (e.g., no search or styling via CSS), and harder to learn. We introduce Scalable Scalable Vector Graphics (SSVG) to reduce these limitations and allow complex and smooth visualizations to be created with SVG. SSVG automatically translates interactive SVG visualizations into a dynamic virtual DOM (VDOM) to bypass the browser's slow 'to specification' rendering by intercepting JavaScript function calls. De-coupling the SVG visualization specification from SVG rendering, and obtaining a dynamic VDOM, creates flexibility and opportunity for visualization system research. SSVG uses this flexibility to free up the main thread for more interactivity and renders the visualization with Canvas or WebGL on a web worker. Together, these concepts create a drop-in JavaScript library which can improve rendering performance by 3-9× with only one line of code added. To demonstrate applicability, we describe the use of SSVG on multiple example visualizations including published visualization research. A free copy of this article, collected data, and source code are available as open science at osf.io/ge8wp.

摘要

用于网络可视化的主流标记语言——可缩放矢量图形(SVG)——相对容易学习,具有开放性、可访问性,可通过CSS进行定制,可通过文档对象模型(DOM)进行搜索,并且易于进行交互处理和调试。由于这些特性使可视化创建者能够专注于设计和实现细节,基于SVG构建的工具,如D3.js,对可视化社区至关重要。然而,缓慢的SVG渲染可能会通过有效限制屏幕上的数据点数量来限制设计,这可能会迫使可视化创建者转而使用画布(Canvas)或网络图形库(WebGL)。而画布和网络图形库的灵活性较差(例如,无法通过CSS进行搜索或样式设置),且更难学习。我们引入了可缩放可缩放矢量图形(SSVG)来减少这些限制,并允许使用SVG创建复杂而流畅的可视化。SSVG通过拦截JavaScript函数调用,自动将交互式SVG可视化转换为动态虚拟文档对象模型(VDOM),以绕过浏览器缓慢的“符合规范”渲染。将SVG可视化规范与SVG渲染解耦,并获得动态VDOM,为可视化系统研究创造了灵活性和机会。SSVG利用这种灵活性释放主线程以实现更多交互性,并在网络工作线程上使用画布或网络图形库渲染可视化。这些概念共同创建了一个即插即用的JavaScript库,只需添加一行代码就能将渲染性能提高3到9倍。为了证明其适用性,我们描述了SSVG在多个示例可视化中的使用,包括已发表的可视化研究。本文的免费副本、收集的数据和源代码可在osf.io/ge8wp上作为开放科学获取。

相似文献

1
Scalable Scalable Vector Graphics: Automatic Translation of Interactive SVGs to a Multithread VDOM for Fast Rendering.可扩展的可扩展矢量图形:将交互式SVG自动转换为多线程虚拟文档对象模型以实现快速渲染。
IEEE Trans Vis Comput Graph. 2022 Sep;28(9):3219-3234. doi: 10.1109/TVCG.2021.3059294. Epub 2022 Jul 29.
2
SVGenes: a library for rendering genomic features in scalable vector graphic format.SVGenes:一个用于以可伸缩矢量图形格式呈现基因组特征的库。
Bioinformatics. 2013 Aug 1;29(15):1890-2. doi: 10.1093/bioinformatics/btt294. Epub 2013 Jun 6.
3
CineMol: a programmatically accessible direct-to-SVG 3D small molecule drawer.CineMol:一个可通过编程访问的直接生成SVG格式的3D小分子绘图工具。
J Cheminform. 2024 May 23;16(1):58. doi: 10.1186/s13321-024-00851-y.
4
Gosling: A Grammar-based Toolkit for Scalable and Interactive Genomics Data Visualization.高辛烷值烷烃:用于可扩展和交互式基因组学数据可视化的基于语法的工具包。
IEEE Trans Vis Comput Graph. 2022 Jan;28(1):140-150. doi: 10.1109/TVCG.2021.3114876. Epub 2021 Dec 30.
5
jsPhyloSVG: a javascript library for visualizing interactive and vector-based phylogenetic trees on the web.jsPhyloSVG:一个用于在网络上可视化交互式和基于向量的系统发生树的 JavaScript 库。
PLoS One. 2010 Aug 18;5(8):e12267. doi: 10.1371/journal.pone.0012267.
6
Protael: protein data visualization library for the web.Protael:用于网络的蛋白质数据可视化库。
Bioinformatics. 2016 Feb 15;32(4):602-4. doi: 10.1093/bioinformatics/btv605. Epub 2015 Oct 29.
7
VisConnect: Distributed Event Synchronization for Collaborative Visualization.
IEEE Trans Vis Comput Graph. 2021 Feb;27(2):347-357. doi: 10.1109/TVCG.2020.3030366. Epub 2021 Jan 28.
8
GenomeD3Plot: a library for rich, interactive visualizations of genomic data in web applications.GenomeD3Plot:一个用于在Web应用程序中对基因组数据进行丰富、交互式可视化的库。
Bioinformatics. 2015 Oct 15;31(20):3348-9. doi: 10.1093/bioinformatics/btv376. Epub 2015 Jun 20.
9
Visualization of protein sequence features using JavaScript and SVG with pViz.js.使用 pViz.js 通过 JavaScript 和 SVG 可视化蛋白质序列特征。
Bioinformatics. 2014 Dec 1;30(23):3408-9. doi: 10.1093/bioinformatics/btu567. Epub 2014 Aug 21.
10
VisBOL: Web-Based Tools for Synthetic Biology Design Visualization.VisBOL:用于合成生物学设计可视化的基于网络的工具。
ACS Synth Biol. 2016 Aug 19;5(8):874-6. doi: 10.1021/acssynbio.5b00244. Epub 2016 Feb 9.

引用本文的文献

1
Visualization Display System of Gannan Hakka Paper-Cut Works Based on Computer Graphics Algorithm.基于计算机图形学算法的赣南客家剪纸作品可视化展示系统。
Comput Intell Neurosci. 2022 Mar 24;2022:2419689. doi: 10.1155/2022/2419689. eCollection 2022.