I am using gojs in an angular project. I do not see how I am able to create a custom context Menu where I can have the context menu horizontal with the different. options. Ideally I’d like to build the context menu so it would be appear horizontal and each list item is it’s own component.
Currently I am trying this option out, but I can’t get the component to appear when I right click on a node (the same way I would click on the node using the built in gojs feature).
<div class="diagram">
<gojs-diagram></gojs-diagram>
</div>
<div id="context-menu" *ngIf="isContextMenuActive">
<app-contextual-menu></app-contextual-menu>
</div>
HTML for contextual menu
<div class="contextual-menu-toolbar">
<app-1></app-1>
<app-2></app-2>
<app-3></app-3>
<app-4></app-4>
<app-5></app-5>
</div>