Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dealing with big model #21

Open
AlbertoAlmuinha opened this issue May 8, 2020 · 1 comment
Open

Dealing with big model #21

AlbertoAlmuinha opened this issue May 8, 2020 · 1 comment

Comments

@AlbertoAlmuinha
Copy link

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!

@SFrav
Copy link

SFrav commented May 19, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants