Create a graph object from data model object
1 2 3 | dm_create_graph(dm, rankdir = "BT", graph_name = "Data Model",
graph_attrs = "", node_attrs = "", edge_attrs = "", view_type = "all",
focus = NULL, col_attr = "column", columnArrows = FALSE)
|
dm |
A data model object |
rankdir |
Graph attribute for direction (eg. 'BT' = bottom –> top) |
graph_name |
A graph name |
graph_attrs |
Additional graph attributes |
node_attrs |
Additional node attributes |
edge_attrs |
Additional edge attributes |
view_type |
Can be "all" (by default), "keys_only" or "title_only". It defines the level of details for the table rendering (all columns, only primary and foreign keys or no columns) |
focus |
A list of parameters for rendering (table filter) |
col_attr |
Column atributes to display.
Only column name ( |
columnArrows |
Edges from column to column (default: FALSE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.