Update to handle graphviz output empty graph
This commit is contained in:
parent
92f2a4acf0
commit
c8d37dd192
1 changed files with 1 additions and 0 deletions
|
@ -343,6 +343,7 @@ function finishView(view) {
|
|||
var $ele = $(value).parent().parent();
|
||||
|
||||
var graphviz = Viz($value.text());
|
||||
if (!graphviz) throw Error('viz.js output empty graph');
|
||||
$value.html(graphviz);
|
||||
|
||||
$ele.addClass('graphviz');
|
||||
|
|
Loading…
Reference in a new issue