Skip to content

thu-vis/Cluster-Aware-Grid-Layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cluster-Aware Grid Layout Algorithm

github.mp4

=======================================

Codes for grid layout algorithm described in our paper "Cluster-Aware Grid Layout" (TVCG 2023).

Compile

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.

Usage Example

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

Acknowledgement

This code is also used the published code of fast-lapjv, and it is our pleasure to acknowledge their contributions.

Citation

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}
}

Contact

If you have any problem about our code, feel free to contact

or describe your problem in Issues.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published