How to show SVG in items in Palette

Hi @walter i need some thing same,
Need to show svg in Palette and drop to diagram. how can i achieve it?

Set up a Palette in your page and set its Diagram.nodeTemplate to be a Node that includes a Picture that shows one of your SVG files via a Binding on Picture.source.

Note carefully the restrictions that some browsers place on both the SVG and the Picture: https://gojs.net/latest/intro/pictures.html#UsingSVGAsPictureSource