This is how a node type definition (has to be named YEdNode) with some yEd-attribute definitions looks like:
node class YEdNode{
height: int = 50;
width: int = 100;
x: int = 0;
y: int = 0;
color : string = "#FFFFFF";
shape : Shape = Shape::RECTANGLE;
label : string = "";
}
And the same for an edge type definition (has to be named YEdEdge):
edge class YEdEdge{
color : string = "#000000";
lineWidth: int = 2;
label : string ="";
lineType : string = "line";
}
The shape-ENUM should look like that:
enum Shape {RECTANGLE, ROUNDRECTANGLE, ELLIPSE, PARALLELOGRAM, HEXAGON, TRIANGLE, RECTANGLE3D, OCTAGON, DIAMOND, TRAPEZOID, TRAPEZOID2}