BasicPrimitives / react

Basic Primitives Diagrams for React. Data visualization components library that implements organizational chart and multi-parent dependency diagrams.
https://basicprimitives.github.io/react/
Other
22 stars 5 forks source link

Drag and Drop not working with connector enabled #75

Open amit08255 opened 1 year ago

amit08255 commented 1 year ago

Drag and drop not working with connector annotation enabled. Can I add a class to div that SVG for connector annotations? Or can I add z-index to -1 to the connector div container? It works after setting z-index to -1.

BasicPrimitives commented 1 year ago
  1. There is css option: pointer-events: none; It makes element transparent to mouse events. It should be added to the layer containing annotations. Source code changes required.
  2. You can just place annotations into background using zOrderType = ZOrderType.Background and make elements background semi-transparent.