For relatively straightforward facet extensions that borrow the grid/wrap layout structure (but don't directly re-use the facet_wrap()/facet_grid() constructors), it would be convenient to access the wrap_as_facets_list() and grid_as_facets_list() functions. It is notoriously inconvenient to copy over these functions because they depend on a cascade of internal functions that also would need to be copied.
For relatively straightforward facet extensions that borrow the grid/wrap layout structure (but don't directly re-use the
facet_wrap()
/facet_grid()
constructors), it would be convenient to access thewrap_as_facets_list()
andgrid_as_facets_list()
functions. It is notoriously inconvenient to copy over these functions because they depend on a cascade of internal functions that also would need to be copied.This cascade can be visualised as follows:
For
grid_as_facets_list()
:If these are not suitable for export to users, could we encapsulate them in the ggproto classes so that they are accessible to extension developers?