GWT Graphics integration

Hi guys!

I have a problem with GWT graphics library - just cant make it work in my Vaadin application
I am sure I missed something

So what do I need is just a panel with colored squares linked by colored lines. You can think about it as a UML diagram. Thats gonna be good example

So I have DrawingArea GWT widget with others : Circle and so on

So I have to make Vaadin wrapper for each one I want to use?
Can I write complex MyDrawingArea that extends DrawingArea and contains Circles without wrapping Circles ?

Okay I tried to wrap DrawingArea
I need to create GwtDrawingArea (gwt source) VDrawingArea and MyDrawingArea(vaadin component that has @ClientWidget annotation

What class should I extend for MyDrawingArea?
Constructor for GWT DrawingArea requires width and height but how can I provide this information for it?

Maybe one of you guys had experiance with GWT Graphics and you can help me with some scatches or code samples? Thatnks a lot in advance

Hi,

Vaadin Directory contains add-ons that use GWT Graphics on the client-side. You can look how these add-ons work.

At least the following add-ons use GWT Graphics:


Sparklines


ProcessingSVG


GWTGraphicsCharts

Cheers,

-Henri