Dynamics Ports on Palette shapes drag and drop are not able to add

I have palette which is having few shapes after drag and drop to go.js diagram on the click of the node I could not able to add port.

I assume you have copied the node template from the Dynamic Ports sample.
Maybe you didn’t copy the initialization of the GraphLinksModel to allow it to support ports on nodes?