To create SVG elements, add the following dependency to your POM:
<dependency>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-svg</artifactId>
<version>1.6.10</version>
</dependency>
In your GWT module, inherit from org.jboss.elemento.SVG
:
<module>
<inherits name="org.jboss.elemento.SVG"/>
</module>
Finally, use the static methods in org.jboss.elemento.svg.SVG
to create SVG elements.