Welcome to Journal of Graphics share: 

Journal of Graphics ›› 2025, Vol. 46 ›› Issue (2): 402-414.DOI: 10.11996/JG.j.2095-302X.2025020402

• Computer Graphics and Virtual Reality • Previous Articles     Next Articles

Graph layout customization based on user-specified examples

CHEN Junxu1(), WU Ziliang1, ZHU Minfeng2, CHEN Wei1()   

  1. 1. State Key Laboratory of CAD&CG, Zhejiang University, Hangzhou Zhejiang 310058, China
    2. School of Software Technology, Zhejiang University, Hangzhou Zhejiang 310058, China
  • Received:2024-08-23 Accepted:2024-11-07 Online:2025-04-30 Published:2025-04-24
  • Contact: CHEN Wei
  • About author:First author contact:

    CHEN Junxu (1999-), master student. His main research interests cover visualization and visual analytics. E-mail:chenjx_work@163.com

  • Supported by:
    National Natural Science Foundation of China Key Project(62132017);“Pioneer”and“Leading Goose”Research and Development Program of Zhejiang(2024C01167);Major Project of the Natural Science Foundation of Zhejiang Province(LD24F020011)

Abstract:

Traditional automatic graph layout algorithms, while ensuring the overall aesthetic properties of graph lay-outs, are unable to generate customized graph layouts. In different practical application scenarios, users often need to adjust the automatically generated graph layouts to meet specific requirements. Existing graph layout adjustments mainly fall into two categories: manual node-level adjustments and constraint-based graph layouts. The former is extremely time-consuming and monotonous, while the latter often lacks flexibility. A customized graph layout adjustment method based on user examples was proposed. This method primarily utilized graph blending theory to integrate the attributes and characteristics of example graphs into the source graphs, thereby achieving flexible and efficient customized graph layout adjustments. Initially, the examples were preprocessed. Two mapping examples and six mapping modes were then designed to generate node-level mapping matrices between the examples and the source graphs. The mapping matrices were employed to align the example graph with the source graph, and the graphs were blended at a certain ratio to obtain the customized graph layout adjustments. A web-based interactive system was designed and developed to implement this method, supporting example Sketch drawing, example importing and selection, source graph importing and selection, mapping mode selection, graph blending ratio control, and node-level fine-tuning. Case studies and evaluation experiments were conducted to validate the feasibility and effectiveness of the proposed method.

Key words: graph layout, node-link diagram, user interactions, graph visualization

CLC Number: