The component SVGVIEWER renders SVG (scalable vector graphics) content. The content is passed by setting the attribute SVG on server side.

For JavaFX client: you may help the component if you pass the SVGWIDTH and SVGWIDTH together with the SVG. If doing so, then the component is able to fit the component into the available space and it will allow the user to zoom in/out using the mouse wheel.

You may add a certain type of interactivity into the SVG - which is a proprietary extension: by assigning an attribute "cc_id" to a certain SVG-element (e.g. "<text ... cc_id='NORTH' ...>"), clicks on this element are recognized on client side and are passed back to the server by corresponding the assigned ACTIONLISTENER (event BaseActionEventSvgElementSelection). The id of the clicked element is passed as part of the event data. - Please pay attention: there is an attribute WITHELEMENTSELECTION that you have to set to "true" in addition, in order to activate the possibility to click on elements. 