Using labels with Svelte

Creating a label is a multi-step process in Konva, as a Label instance needs to contain a Tag and Text instance to function. In svelte-konva the Tag and Text components can be easily nested inside the Label component to automatically create a correct Label without having to wire things up manually.

Hover over the circles to show the tooltips,

Enjoying Konva? Please consider to support the project.