We are currently implementing context menus in GoJS version 2.2.13 using “ContextMenu” and “ContextMenuButton.” As is customary in many applications, we often group context menu buttons and include “dividers” to improve user interaction and navigation.
Can I add dividers between individual ContextMenuButton in GoJS?
Your insights on this matter would be greatly appreciated.
If you are using “ContextMenu”, you are building a context menu in GoJS rather than in HTML. So if you want to add a separator between buttons in the context menu, just add a horizontal line. Perhaps something like: