Closed GiggleLiu closed 2 years ago
What is your vision for this submodule/how is it different from visgadget/visgrid? @GiggleLiu
Like
# canvas
canvas = ...
# add node
node_list = []
for i=1:10
push!(node_list, node(canvas, location...))
end
# add edge
for (i, j) in [...]
connect!(canvas, node_list, i, j)
end
render_tikz(filename, canvas, extra_command...)
It should be a "programmable - graph oriented - but also general purposed - tikz generator".
About general purposed: I wish it is not only a function of generating a plot for specific unitdisk graph. Because then it will be hard to add annotations the plot. The goal is to generate all plots except the main figure in the paper.
If you are not sure how to start, I can sketch a draft for you. It should not take much time (like half an hour) for me to write a draft. Then you can polish/add more features based on that. This will save time for both of us.
I'm just putting together something basic right now with a few simple features:
and then we can discuss further what other features you want?
I wish it can be automatically done in a submodule, so that we can render graphs used in paper easier.