QuEraComputing / UnitDiskMapping.jl

Reduce several arbitrary-connectivity optimization problems into maximum independent set problems on a grid
https://github.com/QuEraComputing/UnitDiskMapping.jl
Other
16 stars 3 forks source link

[WIP] Tikz Module #15

Closed minhthin1028 closed 2 years ago

GiggleLiu commented 2 years ago

Just a reminder, you can merge main branch to this branch first to accelerate the CI. The CI you are using is very slow, I just fixed it in the main branch.

You can check the test coverage in this page: https://coveralls.io/github/Happy-Diode/UnitDiskMapping.jl

Currently, 95% code are coverage by the tests 🥇

GiggleLiu commented 2 years ago

It is nice that you gave it a try. Let me write a quick demo for you to sketch a design.

minhthin1028 commented 2 years ago

ok! Yeah, I was not sure how you envisioned to structure the module and what attributes you wanted for nodes/edges, etc, but I did not know how to prevent unexpected errors in the text file.

GiggleLiu commented 2 years ago

Well, it is still messy after merging main, this is because I want to use the name Node in TikzGraph module, but I already used this name in the main module, so a lot of name changes . Let us clean up this project and merge this pr first. The code in canvas.jl and generate_graph.jl might be not helpful anymore, consider removing them first.