Integrating gwt widget with vaadin

Hi all,

first, i’d like to say that i’m neither a gwt developer nor a java expert, so forgive me if i ask for something easy.

I want to integrate the gwt widget located on https://github.com/jgraph/mxgraph-gwt into vaadin.
This widget uses the mxgraph javascript library to draw diagrams (like on https://www.draw.io/). The widget has a lot of objects and i’m not sure the right steps to integrate it on vaadin. Should i develop a server-client side object for each object on the widget? How would you face this type of project?

Thanks for your help.
Regards,
M.