diff --git a/meta/include/actsvg/display/grids.hpp b/meta/include/actsvg/display/grids.hpp index c35a4f6..a8e258c 100644 --- a/meta/include/actsvg/display/grids.hpp +++ b/meta/include/actsvg/display/grids.hpp @@ -30,7 +30,7 @@ namespace display { * * @return an svg object representing the grid */ -svg::object grid(const std::string& id_, const proto::grid& g_) { +static inline svg::object grid(const std::string& id_, const proto::grid& g_) { // The grid object svg::object g; diff --git a/meta/include/actsvg/meta.hpp b/meta/include/actsvg/meta.hpp index b3faff5..fe108c1 100644 --- a/meta/include/actsvg/meta.hpp +++ b/meta/include/actsvg/meta.hpp @@ -18,7 +18,8 @@ #include "actsvg/styles/defaults.hpp" +#include "actsvg/display/datamodel.hpp" +#include "actsvg/display/grids.hpp" +#include "actsvg/display/geometry.hpp" #include "actsvg/display/helpers.hpp" #include "actsvg/display/sheets.hpp" -#include "actsvg/display/geometry.hpp" -#include "actsvg/display/datamodel.hpp" \ No newline at end of file diff --git a/meta/include/actsvg/proto/grid.hpp b/meta/include/actsvg/proto/grid.hpp index c867489..0ee73ba 100644 --- a/meta/include/actsvg/proto/grid.hpp +++ b/meta/include/actsvg/proto/grid.hpp @@ -41,6 +41,9 @@ struct grid { /// Reference r for drawing scalar _reference_r = 0.; + /// Bin identifications + std::vector _bin_ids = {}; + /// Connections std::vector _connections; /// Connection types