I followed this example to create a node template with icons, Icons GoJS Sample
$(
go.Shape,
'Rectangle',
{ strokeWidth: 0 },
new go.Binding('fill', 'isSelected', (selected, obj) => {
return selected ? '#edffff' : 'white';
}).ofObject(),
),
$(go.Shape,
{ margin: 3, fill: '#cbc9c9', strokeWidth: 0 },
new go.Binding('geometry', 'type', getIcon),
),
$(go.TextBlock,
{
textAlign: 'center',
font: '9pt helvetica, arial, sans-serif',
margin: 4,
},
new go.Binding('name'),
),
However, the textBlock is not showing up, how would I modify my nodeTemplate such that I can show a label/ textBlock underneath the geometry/Icon.
Thanks