How to create sub menus in the Context Menu


if its possible to do submenus for a context menu by using only gojs not with the jquery or html?

I have attached an example picture.

That isn’t supported by ContextMenuTool. Sorry.

what is an alternative ?
Please provide the sample of it.

Implement the context menus in HTML.