manishpatelUK

Results 5 comments of manishpatelUK

I can't get this to work either, and @daddycocoaman's solution doesn't seem to do the trick either (maybe I did it wrong). And the elements and config defined as reactive...

Thanks for the quick response @daddycocoaman . I did as below, but still no joy unfortunately. afterCreated: function(cy) { console.log(cy) this.$nextTick(() => { cy.layout(this.config.layout).run(); cy.fit(null, 200); }); }

@cctv1005s thanks, I updated `butterfly-dag` to `3.3.1` and that error now disappears (it wasn't clear that the original error was actually from auto layout). But now shows a different error...

I have a horrible workaround for this, which forces a redraw of the whole graph: (Note `:key`) Then every time I need a refresh, I just increment `redrawKey` . Obviously...

Ah ok this was the critical bits of info I was missing: > redraw function of Vue version is not supported and > Because diff is based on id,When mockData...