github.mp4
=======================================
Codes for grid layout algorithm described in our paper "Cluster-Aware Grid Layout" (TVCG 2023).
Compile the c++ code to python library with pybind11.
pip install pybind11
cd "c module_now"
python setup.py build_ext --inplace
Tested on Windows, and Linux with python 3.8.
Run this example to compare our method and baseline method. Runing this example requires the installation of scipy, numpy and matplotlib.
Node: Download data in Google Drive, and unzip in the root directory. Also need to move the compiled library above to the same directory as the py file.
python test_now/demo.py
This code is also used the published code of fast-lapjv, and it is our pleasure to acknowledge their contributions.
If you use this code for your research, please consider citing:
@article{zhou2023clusteraware,
title = {Cluster-Aware Grid Layout},
author = {Zhou, Yuxing and Yang, Weikai and Chen, Jiashu and Chen, Changjian and Shen, Zhiyang and Luo, Xiaonan and Yu, Lingyun and Liu, Shixia},
journal = {IEEE Transactions on Visualization and Computer Graphics (accepted)},
year = {2023}
}
If you have any problem about our code, feel free to contact
or describe your problem in Issues.