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

Fix the issue where minimap content gets clipped #1600

Merged
merged 1 commit into from
Nov 8, 2018

Commits on Nov 8, 2018

  1. Fix the issue where minimap content gets clipped

    Bug: tensorflow#1574
    Cause: the graph contains no main graph node and all nodes are
    auxilliary nodes. As a result, the drawn nodes are shifted right by
    predefined amount for visuals. When measuring the bounding box of the
    scene to draw the minimap, we were measuring using
    SVGGraphicsElement.getBBox which returned BBox without any whitespace.
    As a result, although we wanted the width from the origin to right edge
    of the right most node, we were omitting the origin to left most edge
    of the content resulting in clipped content in the minimap.
    stephanwlee committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    05b328b View commit details
    Browse the repository at this point in the history