react-digraph
Advanced tools
Comparing version 8.0.0-beta.8 to 8.1.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2058947
9
1622
2
344