Need Help on Template Maps

Hi Team,

I am designing node templates on the basis of Type.

Like Type = sample --> node template will be diff

As per Go JS documentation it is using category for differentiate.

Can we use our own type for example i have type = sample or type = complex?

I want to use Type in place of category.

I this case is there any workaround to fit solution?


Set to the data property name that you want to use instead of “category”.

Thanks walter,

Can you tell where exactly i need to set this property?

On your Model instance.

thanks a lot walter.

this works!!!

myDiagram.model.nodeCategoryProperty = “Type”;