datamodelr icon indicating copy to clipboard operation
datamodelr copied to clipboard

Dealing with big model

Open AlbertoAlmuinha opened this issue 4 years ago • 1 comments

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!

AlbertoAlmuinha avatar May 08 '20 14:05 AlbertoAlmuinha

Can you edit model before converting to as.Data_model? After the first line, what’s the result of str(model)?

SFrav avatar May 19 '20 07:05 SFrav