Project

General

Profile

Actions

Bug #4805

closed

[Workbench] Workbench provenance graph tabs appear empty when graph is very large

Added by Peter Amstutz over 9 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Story points:
0.5

Description

For example, see qr1hi-4zz18-6vg3yynwl37x6tc provenance and used_by graphs. When you open the tab, you'll probably see empty white space. Zoom out a few times, though, and you'll start to see the graph. However, Workbench defaults to showing an upper left portion of the graph, and that's empty in this case.

Fix to implement:

  • See if it's possible to weight Graphviz's rendering so that something is almost guaranteed to render in the upper left. If so, do that.
  • If not, render the initial view so that the graph fits inside it.

There are more UI improvements we should make to this tab, but that's a separate story.

Actions #1

Updated by Peter Amstutz over 9 years ago

qr1hi-4zz18-6vg3yynwl37x6tc is missing provenance and used_by graphs, investigate.

Actions #2

Updated by Peter Amstutz over 9 years ago

  • Category set to Workbench
Actions #3

Updated by Tim Pierce over 9 years ago

  • Description updated (diff)

This behavior is consistent with a collection that has been uploaded but not used in any pipelines. Is it possible that's all that's happened here?

Actions #4

Updated by Brett Smith over 9 years ago

Tim Pierce wrote:

This behavior is consistent with a collection that has been uploaded but not used in any pipelines. Is it possible that's all that's happened here?

Afraid not. This Collection is the output of qr1hi-8i9sb-tdhp7eho5ihg4vz.

Actions #5

Updated by Brett Smith over 9 years ago

The graph generation code in the controller #show method is all wrapped in rescue nil. It seems likely that an exception is being eaten.

This should be more like normal error behavior: we want to log that an exception occurred, and encourage the user to report the bug so we can track it down.

Actions #6

Updated by Brett Smith over 9 years ago

  • Subject changed from [Workbench] Provenance graph missing to [Workbench] Workbench provenance graph tabs appear empty when graph is very large

The graph is being generated fine, it's just so ginormous that the upper left part that you're viewing by default is empty. Zoom out a few times and you'll see the graph.

We need a UI fix for this.

Actions #7

Updated by Brett Smith over 9 years ago

  • Description updated (diff)
Actions #8

Updated by Brett Smith about 9 years ago

  • Description updated (diff)
  • Story points set to 0.5
Actions #9

Updated by Tom Clegg about 9 years ago

  • Target version changed from Bug Triage to 2015-02-18 sprint
Actions #10

Updated by Peter Amstutz about 9 years ago

The "smart scroll" javascript is supposed to adjust the size of the DOM box that renders the SVG, so that you get actual scrollbars to indicate what is going on. This never got a proper workbench unit test and has been broken for a long time.

Another thing to add would be to adjust the default zoom level so that the entire graph is on the page at the outset.

Actions #11

Updated by Tom Clegg about 9 years ago

  • Target version changed from 2015-02-18 sprint to Arvados Future Sprints
Actions #12

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #13

Updated by Peter Amstutz over 1 year ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF