Visual Informatics (Dec 2021)

G6: A web-based library for graph visualization

  • Yanyan Wang,
  • Zhanning Bai,
  • Zhifeng Lin,
  • Xiaoqing Dong,
  • Yingchaojie Feng,
  • Jiacheng Pan,
  • Wei Chen

Journal volume & issue
Vol. 5, no. 4
pp. 49 – 55

Abstract

Read online

Authoring graph visualization poses great challenges to developers due to its high requirements on both domain knowledge and development skills. Although existing libraries and tools reduce the difficulty of generating graph visualization, there are still many challenges. We work closely with developers and formulate several design goals, then design and implement G6, a web-based library for graph visualization. It combines template-based configuration for high usability and flexible customization for high expressiveness. To enhance development efficiency, G6 proposes a range of optimizations, including state management and interaction modes. We demonstrate its capabilities through an extensive gallery, a quantitative performance evaluation, and an expert interview. G6 was first released in 2017 and has been iterated for 317 versions. It has served as a web-based library for thousands of applications and received 8312 stars on GitHub.

Keywords