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.
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.
- Category set to Workbench
- 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?
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.
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.
- 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.
- Description updated (diff)
- Description updated (diff)
- Story points set to 0.5
- Target version changed from Bug Triage to 2015-02-18 sprint
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.
- Target version changed from 2015-02-18 sprint to Arvados Future Sprints
- Target version deleted (
Arvados Future Sprints)
- Status changed from New to Closed
Also available in: Atom
PDF