in src/chordChart.ts [562:576]
public handleContextMenu() {
this.svg.on("contextmenu", (event) => {
let dataPoint: any = select(event.target).datum();
this.selectionManager.showContextMenu(
dataPoint && dataPoint.selectionIds && dataPoint.selectionIds[0]
? dataPoint.selectionIds[0]
: {},
{
x: event.clientX,
y: event.clientY,
}
);
event.preventDefault();
});
}