Socket
Socket
Sign inDemoInstall

react-digraph

Package Overview
Dependencies
Maintainers
7
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-digraph - npm Package Compare versions

Comparing version 8.0.0-beta.8 to 8.1.0

11

package.json
{
"name": "react-digraph",
"description": "directed graph react component",
"version": "8.0.0-beta.8",
"version": "8.1.0",
"keywords": [

@@ -29,5 +29,4 @@ "uber-library",

"peerDependencies": {
"react": "^16.12.0",
"react-dom": "^16.12.0",
"d3": "^5.16.0"
"d3": "^5.16.0",
"react-dom": "^16.12.0"
},

@@ -96,4 +95,4 @@ "dependencies": {

"lint-staged": "^8.2.0",
"live-server": "^1.2.0",
"node-sass": "^4.9.2",
"live-server": "^1.2.2",
"node-sass": "^6.0.1",
"npm-run-all": "^4.1.3",

@@ -100,0 +99,0 @@ "opn-cli": "3.1.0",

@@ -12,6 +12,6 @@ # react-digraph

Breaking changes:
Breaking changes:
- `onPasteSelected` now accepts a `SelectionT` object for the first parameter
- `onPasteSelected` now accepts an `IPoint` instead
- `onPasteSelected` now accepts an `IPoint` instead
of a `XYCoords` array for the second parameter.

@@ -230,3 +230,4 @@ - `onDeleteSelected` is added which takes a `SelectionT` parameter.

| `edges` | `Array<IEdge>` | `true` | Array of graph edges. |
| `allowMultiselect` | `boolean` | `false` | (default true) Use Ctrl-Shift-LeftMouse to draw a multiple selection box. |
| `allowCopyEdges` | `boolean` | `false` | (default false) Allow `onCopySelected` to be called when an edge is selected without any nodes. |
| `allowMultiselect` | `boolean` | `false` | (default true) Use Ctrl-Shift-LeftMouse to draw a multiple selection box. |
| `selected` | `object` | `true` | The currently selected graph entity. |

@@ -242,3 +243,3 @@ | `nodeTypes` | `object` | `true` | Config object of available node types. |

| `onSwapEdge` | `func` | `true` | Called when an edge `'target'` is swapped.|
| `onBackgroundClick` | `func` | `false` | Called when the background is clicked. |
| `onBackgroundClick` | `func` | `false` | Called when the background is clicked. |
| `onArrowClicked` | `func` | `false` | Called when the arrow head is clicked. |

@@ -245,0 +246,0 @@ | `onUndo` | `func` | `false` | A function called when Ctrl-Z is activated. React-digraph does not keep track of actions, this must be implemented in the client website. |

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc