An ellipse with a label.

Supported attrs properties

Selector Node Description
root SVGGElement Container of all nodes
body SVGEllipseElement Elliptical body of the shape
label SVGTextElement Text inside the body
var ellipse = new joint.shapes.standard.Ellipse();
ellipse.resize(150, 100);
ellipse.position(425, 10);
ellipse.attr('root/title', 'joint.shapes.standard.Ellipse');
ellipse.attr('label/text', 'Ellipse');
ellipse.attr('body/fill', 'lightblue');
ellipse.addTo(graph);