layout_to_table: Convert a layout to a table
Description
This generic takes care of dispatching various layout types (names,
functions, tables) to their respective functions that will return a valid
layout table.
Usage
layout_to_table(layout, graph, ...)
Arguments
- layout
A supported object
- graph
A tbl_graph
- ...
passed on to implementations