Hi,
If you mean geometric shapes for ShapeNodes, they can be defined using SVG path syntax, the control supports M, L, B, Q, A, Z commands (move, line, Bezier, arc and close). The coordinates specify percentage of the actual node size. E.g. here's how a couple of the standard shapes are defined:
var processShape = new Shape(
{ outline: 'M0,100 L100,100 L100,0 L0,0 L0,100 Z', decoration: 'M0,15 L100,15', id: 'DividedProcess' });
var sphereShape = new Shape(
{ outline: 'A50,50,50,0,6.28318530717959,0 Z', decoration: 'M50,0 B50,100,25,25,25,75', id: 'Sphere' });
I hope that helps,
Stoyan