论文标题

编码:可视化组件的可配置语法

Encodable: Configurable Grammar for Visualization Components

论文作者

Wongsuphasawat, Krist

论文摘要

如今,有很多可视化组件的库和它们的API通常相互不同。在API和共同功能方面,这些组件是否更相似?对于正在开发新的可视化组件的人,API应该如何?这项工作从可视化语法中汲取了灵感,将语法与其渲染引擎解耦,并将其改编成可配置的语法,以用于单个组件,称为Encodable。编码有助于组件作者为其组件定义语法,并将将用户编码的规范解析为实现实用功能。本文解释了语法设计,并演示了如何与其构建组件。

There are so many libraries of visualization components nowadays with their APIs often different from one another. Could these components be more similar, both in terms of the APIs and common functionalities? For someone who is developing a new visualization component, how should the API look like? This work drew inspiration from visualization grammar, decoupled the grammar from its rendering engine and adapted it into a configurable grammar for individual components called Encodable. Encodable helps component authors define grammar for their components, and parse encoding specifications from users into utility functions for the implementation. This paper explains the grammar design and demonstrates how to build components with it.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源