Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Automatic resizing of dependency graph when first loaded #264

@mattwarkentin

Description

@mattwarkentin

Prework

  • Read and agree to the code of conduct and contributing guidelines.
  • If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
  • For any problems you identify, post a minimal reproducible example like this one so the maintainer can troubleshoot. A reproducible example is:
    • Runnable: post enough R code and data so any onlooker can create the error on their own computer.
    • Minimal: reduce runtime wherever possible and remove complicated details that are irrelevant to the issue at hand.
    • Readable: format your code according to the tidyverse style guide.

Question

Hi @wlandau,

Is there any way to have the dependency graph, as generated by tar_visnetwork(), always appear in the Viewer window zoomed-out enough so the whole graph is visible? It seems that, by default, the graph is sort of zoomed in on the centroid of the graph and I can either:

  1. Manually zoom out

  2. Any slight resizing of the Viewer window triggers the graph to be presented in full view.

Every time I call tar_visnetwork() I have to slightly resize the Viewer pane to get the graph in full view. Similarly, I have started using tar_watch() to monitor the graph while running tar_make(), and the graph in the shiny app suffers from the same fate, which means, even though it updates the graph, often I can't even see which nodes are running or completed until I manually change the zoom/FOV.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions