I just don't get it. Documentation explains how to create a custom rectangle with rounded corners, but how should I create, for example, a rectangle with some text inside, just like this one:
+---------+
| |
| Hello |
| |
+---------+
Okay, it's pretty clear that I should probably create a group
and then put a rectangle and the text inside it, but when I try do do this in some different ways, I get nothing displayed.
I'm trying to create something that works like this:
var draw = SVG('container');
var element = draw.customElement('hello').move(100, 100);