0

I have my nodes like this

const nodes = [
  {
    id: 'A',
    type: 'group',
    data: { label: null },
    position: { x: 0, y: 0 },
    style: {
      width: 170,
      height: 140,
    },
  },
  {
    id: 'B',
    type: 'input',
    data: { label: 'child node 1' },
    position: { x: 10, y: 10 },
    parentNode: 'A',
    extent: 'parent',
  },
  {
    id: 'C',
    data: { label: 'child node 2' },
    position: { x: 10, y: 90 },
    parentNode: 'A',
    extent: 'parent',
  },
];

export default nodes;

..and have connection between them

export default [{ id: 'b-c', source: 'B', target: 'C' }];

A is a parent node and B,C are its child nodes. But when clicking on edges with in a subflow group, the onEdgeClick does not trigger. But the same prop works when the edge is not inside a group ( subflow ) !

Highly appreciate any help on which direction to look for a solution!

Vipin Kumar KM
  • 356
  • 5
  • 17

0 Answers0