thechiselgroup/biomixer — comment on commit 45f7d7810b6101272c241785c66a4e725f34ba02
File: biomixer/src/org/thechiselgroup/biomixer/client/visualization_component/graph/widget/GraphSvgDisplay.java line 145
By lgrammel:

This method typically just returns the widget if it had been initialized & initializes it once otherwise. Here, it is cleared every time. I suggest something along these lines instead:

if (asWidget != null) { return asWidget; }
// initialization

You will probably need to keep the background svg element as field as well.