layout_to_table function

Convert a layout to a table

Convert a layout to a table

This generic takes care of dispatching various layout types (names, functions, tables) to their respective functions that will return a valid layout table.

layout_to_table(layout, graph, ...)

Arguments

  • layout: A supported object
  • graph: A tbl_graph
  • ...: passed on to implementations

Returns

A valid data.frame

  • Maintainer: Thomas Lin Pedersen
  • License: MIT + file LICENSE
  • Last published: 2024-03-07