Hi,
The coordinates you pass to the Shape constructor designate percentages of the node's Bounds rectangle, and not size in pixels. Later on, the percentages are mapped to the node's actual size. In your case the biggest coordinate is 20, so that's a fifth of the node size. To make that shape fill the entire node, multiply your current coordinates by 5:
var innerShapeTemplate = new Shape(
null,
new ElementTemplate[]
{
new LineTemplate(25, 90, 25, 60),
new LineTemplate(25, 60, 35, 50),
new LineTemplate(35, 50, 60, 50),
new LineTemplate(60, 50, 50, 60),
new LineTemplate(50, 60, 40, 60),
new LineTemplate(40, 60, 90, 60),
new LineTemplate(90, 60, 85, 70),
new LineTemplate(85, 70, 50, 70),
new LineTemplate(85, 70, 80, 80),
new LineTemplate(80, 80, 50, 80),
new LineTemplate(80, 80, 75, 90),
new LineTemplate(75, 90, 50, 90),
new LineTemplate(75, 90, 70, 100),
new LineTemplate(70, 100, 35, 100),
new LineTemplate(35, 100, 25, 90)
},
null, FillRule.Nonzero, "ManualTask");
You can also make the icons in the NodeListview larger by assigning larger rectangles to nodes' Bounds. However you still need to specify your shapes as percentage in 0..100 range, so that once the user drops nodes on the canvas and start resizing them, the shapes fill the node frames fully.
I hope that helps,
Stoyan