Directory

Svg Component - Vaadin Add-on Directory

Allows the creation of SVG elements from the server side Svg Component - Vaadin Add-on Directory
### Overview The Vaadin Component Factory SVG component is a wrapper around svg.js that allows creation of simple and complex SVGs from the Vaadin server-side code. ### Usage Add the dependency to your project (see sidebar in directory). Create a new Svg component and add an SvgElement element into it (see code examples) #### Client-side implementation This is the server-side (Java) API for the Vaadin Platform for the vcf-svg component. Looking for the client-side version? It can be found here: https://vaadin.com/directory/component/vaadin-component-factoryvcf-svg ## License & Author This Add-on is distributed under Apache 2.0 Component Factory Svg is written by Vaadin Ltd. ### Sponsored development Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: [Support](https://vaadin.com/support) and [Pricing](https://vaadin.com/pricing)
Online Demo
View on GitHub
Issue tracker

Svg Component version 1.0.1
v 1.0.1: - Fixes issue with drag where the drag in some cases would never end - Fixes issue where calling setDraggable(true) before calling svg.add() and then calling svg.update() caused the component to not actually be draggable. v 1.0.0: Initial release: - Initial component API and Element APIs - Supports 9 SVG elements (see demo) - Drag and Drop listener support - Extendable server-side API

Svg Component version 1.0.2
Changes since __v1.0.1__: - Updated the web component to [__v1.0.4__](https://vaadin.com/directory/component/vaadin-component-factoryvcf-svg), fixes `viewbox` method. - Added `panTo` method.

Svg Component version 1.0.3
Update the license to Apache 2.0

Svg Component version 1.0.4
The license checker was still active in v1.0.3. Remove the license checker

Svg Component version 1.1.0
Add a click listener to the component

Svg Component version 1.1.1
Fix an error when the component was used in a dialog

Svg Component version 1.2.0
Update to Version 23

Svg Component version 1.2.1
Update to support Version 24

Svg Component version 1.1.2
* Update web component dependency to 1.0.9 to fix svgjs dependency issue.

Svg Component version 2.0.0
#### New Features: * Add tooltip support to Svg Elements ([#23](https://github.com/vaadin-component-factory/svg/issues/23))