[Workbench] Workbench provenance graph tabs appear empty when graph is very large
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.
#5 Updated by Brett Smith over 4 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.
#6 Updated by Brett Smith over 4 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.
#10 Updated by Peter Amstutz over 4 years ago
Another thing to add would be to adjust the default zoom level so that the entire graph is on the page at the outset.