datamodelr
datamodelr copied to clipboard
Dealing with big model
Hi! I'm trying to visualize a model with 275 tables. I use the following code:
model<- DBI::dbGetQuery(con, sQuery, stringsAsFactors = FALSE, errors=TRUE) model<- as.data_model(model) graph <- dm_create_graph(model, rankdir = "BT", view_type = 'keys_only') dm_render_graph(graph)
The problem is that the tables cannot be seen as there are so many, not even by zooming ... how should I proceed in this case?
Thank you very much! Great package!
Can you edit model
before converting to as.Data_model? After the first line, what’s the result of str(model)
?