I really enjoy AoG for statistical work, and would like to explore it for geometric work as well.
We have a custom Viz recipe in Meshes.jl that displays any collection of geometries with a color option. How to make it compatible with AoG? show_aesthetics shows zero methods for Viz Is there a documentation somewhere explaining how to add methods? The following code should work in theory:
data(geotable) * mapping(:geometry) * visual(Viz) |> draw
Related question
We define the recipe in a Makie.jl extension, so the Viz type is not exported by default. We can get access to it using Viz = Base.get_extension(Meshes, :MeshesMakieExt).Viz, but I wonder if there is a better way. The functions themselves (i.e., viz an viz!) are defined in the source without methods, and implemented in the extension, so they can be easily exported.
I really enjoy AoG for statistical work, and would like to explore it for geometric work as well.
We have a custom
Vizrecipe in Meshes.jl that displays any collection of geometries with a color option. How to make it compatible with AoG?show_aestheticsshows zero methods forVizIs there a documentation somewhere explaining how to add methods? The following code should work in theory:Related question
We define the recipe in a Makie.jl extension, so the
Viztype is not exported by default. We can get access to it usingViz = Base.get_extension(Meshes, :MeshesMakieExt).Viz, but I wonder if there is a better way. The functions themselves (i.e.,vizanviz!) are defined in the source without methods, and implemented in the extension, so they can be easily exported.