Compare commits
25 Commits
@antv/x6-r
...
@antv/x6-p
Author | SHA1 | Date | |
---|---|---|---|
6c4244c747 | |||
e6a1a71932 | |||
7d64596767 | |||
54725040f2 | |||
a2a2e657e9 | |||
593416d8d9 | |||
96fc0d79cb | |||
85aa3c82ca | |||
f20127af55 | |||
f275d3df1e | |||
3a1f34ecfd | |||
279caf5173 | |||
2dcf5d2461 | |||
d83837d85a | |||
41a64aa1d8 | |||
d4df46ab40 | |||
f448f72417 | |||
557d2df152 | |||
5edd9ba5f2 | |||
bfd1103fd4 | |||
75f42978cb | |||
2ecc213094 | |||
16c19e0591 | |||
02d95cfeea | |||
602fcfa0ed |
.github/workflows
.releasercCONTRIBUTORSCONTRIBUTORS.svgpackage.jsonpackages
x6-common
x6-geometry
x6-plugin-clipboard
x6-plugin-dnd
x6-plugin-export
x6-plugin-history
x6-plugin-keyboard
x6-plugin-minimap
x6-plugin-scroller
x6-plugin-selection
x6-plugin-snapline
x6-plugin-stencil
x6-plugin-transform
x6-react-components
x6-react-shape
x6-vue-shape
x6
sites
x6-sites-demos-helper
x6-sites-demos/packages
api
graph
async
auto-resize
checkview
coord
registry
attr
background
connection-point/playground
connector
jumpover
normal
rounded
smooth
wobble
edge-anchor/playground
edge-tool
anchor
arrowhead
boundary
button-remove
button
custom-arrowhead
custom-vertices
segments
vertices
filter
blur
brightness
contrast
drop-shadow
gray-scale
highlight
hue-rotate
invert
outline
saturate
sepia
grid
node-anchor/playground
node-tool
boundary
button-remove
button
custom-button
editor
port-label-layout
inside-outside
radial
side
port-layout
absolute
ellipse-spread
ellipse
line
side
sin
router
er
manhattan
metro
oneside
orth
random
ui
auto-scrollbox/basic
color-picker/basic
contextmenu/basic
dropdown/basic
menu/basic
menubar/basic
scrollbox/basic
splitbox/basic
toolbar/basic
performance/x6
scene/sankey
tutorial
basic
edge
connector
custom-marker
native-marker
router
vertices
events/custom-click
graph
auto-resize
background-grid
panning-mousewheel
transform
interacting
node
port
serialization
getting-started
intermediate
connection-point/multi
group
collapsable
embed-edge
expand-shrink
restrict
html
react
tools
vue
plugins
clipboard/playground
dnd
history/playground
keyboard/playground
minimap/playground
scroller/playground
selection/playground
snapline/playground
transform
x6-sites
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -44,8 +44,8 @@ jobs:
|
||||
- name: 🚧 Install dependencies
|
||||
run: pnpm install --no-frozen-lockfile --ignore-scripts
|
||||
|
||||
- name: 📦 build
|
||||
run: pnpm run build
|
||||
# - name: 📦 build
|
||||
# run: pnpm run build
|
||||
|
||||
# - name: ✅ Test
|
||||
# run: pnpm run test
|
||||
@ -57,15 +57,15 @@ jobs:
|
||||
private_key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
- name: 📦 Semantic Release
|
||||
run: pnpm srm --debug --comment-footer 'Thanks for being a part of the [AntV](https://github.com/antvis) community! 💪💯'
|
||||
run: pnpm srm --debug --combine-commits --comment-footer 'Thanks for being a part of the [AntV](https://github.com/antvis) community! 💪💯'
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ env.BOT_TOKEN }}
|
||||
GIT_AUTHOR_NAME: ${{ env.BOT_NAME }}
|
||||
GIT_AUTHOR_EMAIL: ${{ env.BOT_NAME }}@users.noreply.github.com
|
||||
GIT_COMMITTER_NAME: ${{ env.BOT_NAME }}
|
||||
GIT_COMMITTER_EMAIL: ${{ env.BOT_NAME }}@users.noreply.github.com
|
||||
GIT_AUTHOR_NAME: ${{ env.BOT_NAME }}[bot]
|
||||
GIT_AUTHOR_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
|
||||
GIT_COMMITTER_NAME: ${{ env.BOT_NAME }}[bot]
|
||||
GIT_COMMITTER_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
|
||||
|
||||
- name: 🔀 Repository Dispatch
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
11
.releaserc
11
.releaserc
@ -11,22 +11,17 @@
|
||||
[
|
||||
"@semantic-release/commit-analyzer",
|
||||
{
|
||||
"preset": "angular",
|
||||
"parserOpts": {
|
||||
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
|
||||
},
|
||||
"releaseRules": [
|
||||
{ "breaking": true, "release": "major" },
|
||||
{ "revert": true, "release": "patch" },
|
||||
{ "type": "feat", "release": "minor" },
|
||||
{ "type": "ci", "release": "patch" },
|
||||
{ "type": "build", "release": "patch" },
|
||||
{ "type": "chore", "release": "patch" },
|
||||
{ "type": "docs", "release": "patch" },
|
||||
{ "type": "perf", "release": "patch" },
|
||||
{ "type": "style", "release": "patch" },
|
||||
{ "type": "test", "release": "patch" },
|
||||
{ "type": "refactor", "release": "patch" },
|
||||
{ "type": "ci", "release": false },
|
||||
{ "type": "chore", "release": false },
|
||||
{ "scope": "no-release", "release": false }
|
||||
]
|
||||
}
|
||||
@ -36,7 +31,7 @@
|
||||
[
|
||||
"@semantic-release/npm",
|
||||
{
|
||||
"npmPublish": true
|
||||
"npmPublish": false
|
||||
}
|
||||
],
|
||||
[
|
||||
|
@ -82,6 +82,7 @@ zdc1111 <39116292+zdc1111@users.noreply.github.com>
|
||||
崖 <bubkoo.wy@gmail.com>
|
||||
崖崖崖 <bubkoo.wy@gmail.com>
|
||||
文瑀 <wenyu.jqq@antfin.com>
|
||||
映月 <38279397+orientMoon@users.noreply.github.com>
|
||||
杨凌 <89915256@qq.com>
|
||||
柏愚 <boyu.zlj@antfin.com>
|
||||
粑粑超 <842486229@qq.com>
|
||||
|
File diff suppressed because one or more lines are too long
Before (image error) Size: 10 MiB After (image error) Size: 11 MiB |
32
package.json
32
package.json
@ -92,36 +92,36 @@
|
||||
"@babel/core": "^7.20.2",
|
||||
"@babel/plugin-syntax-flow": "^7.18.6",
|
||||
"@babel/plugin-transform-react-jsx": "^7.19.0",
|
||||
"@commitlint/config-conventional": "^17.2.0",
|
||||
"@commitlint/config-conventional": "^17.3.0",
|
||||
"@rollup/plugin-commonjs": "^23.0.2",
|
||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||
"@rollup/plugin-replace": "^5.0.1",
|
||||
"@rollup/plugin-typescript": "^8.2.5",
|
||||
"@semantic-release-monorepo/cli": "^2.0.0",
|
||||
"@semantic-release-monorepo/cli": "^2.1.0",
|
||||
"@semantic-release/changelog": "^6.0.1",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@types/jasmine": "^4.3.0",
|
||||
"@types/jest": "^29.2.2",
|
||||
"@types/jest": "^29.2.3",
|
||||
"@types/node": "^18.11.9",
|
||||
"@types/sinon": "^10.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
||||
"@typescript-eslint/parser": "^5.42.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
||||
"@typescript-eslint/parser": "^5.44.0",
|
||||
"boxen": "^7.0.0",
|
||||
"colors": "^1.4.0",
|
||||
"coveralls": "^3.1.1",
|
||||
"eslint": "^8.26.0",
|
||||
"eslint": "^8.28.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-flowtype": "^8.0.3",
|
||||
"eslint-plugin-import": "^2.24.2",
|
||||
"eslint-plugin-jest": "^27.1.4",
|
||||
"eslint-plugin-jest": "^27.1.6",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-react": "^7.25.1",
|
||||
"eslint-plugin-react": "^7.31.11",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"eslint-plugin-unicorn": "^44.0.2",
|
||||
"eslint-plugin-unicorn": "^45.0.0",
|
||||
"fs-extra": "^10.0.0",
|
||||
"husky": "^8.0.1",
|
||||
"is-ci": "^3.0.0",
|
||||
@ -137,21 +137,21 @@
|
||||
"less": "^4.1.1",
|
||||
"lodash": "^4.17.21",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss": "^8.3.6",
|
||||
"prettier": "^2.4.0",
|
||||
"postcss": "^8.4.19",
|
||||
"prettier": "^2.8.0",
|
||||
"pretty-quick": "^3.1.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^3.2.5",
|
||||
"rollup": "^3.4.0",
|
||||
"rollup-plugin-auto-external": "^2.0.0",
|
||||
"rollup-plugin-filesize": "^9.1.1",
|
||||
"rollup-plugin-postcss": "^4.0.1",
|
||||
"rollup-plugin-progress": "^1.1.2",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"run-shared-scripts": "^1.0.2",
|
||||
"run-shared-scripts": "^1.1.4",
|
||||
"semantic-release": "^19.0.5",
|
||||
"sinon": "^14.0.1",
|
||||
"stylelint": "^14.14.1",
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
"stylelint": "^14.15.0",
|
||||
"stylelint-config-prettier": "^9.0.4",
|
||||
"stylelint-config-rational-order": "^0.1.2",
|
||||
"stylelint-config-standard": "^29.0.0",
|
||||
"stylelint-declaration-block-no-ignored-properties": "^2.4.0",
|
||||
@ -160,6 +160,6 @@
|
||||
"ts-node": "^10.2.1",
|
||||
"tslib": "^2.4.1",
|
||||
"turbo": "^1.6.3",
|
||||
"typescript": "^4.4.3"
|
||||
"typescript": "^4.9.3"
|
||||
}
|
||||
}
|
||||
|
@ -48,7 +48,7 @@
|
||||
"email": "vectorse@126.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -33,7 +33,7 @@ export function addClass(
|
||||
}
|
||||
|
||||
if (typeof selector === 'string' && elem.nodeType === 1) {
|
||||
const classes = selector.match(rnotwhite) || []
|
||||
const classes: string[] = selector.match(rnotwhite) || []
|
||||
const oldValue = fillSpaces(getClass(elem)).replace(rclass, ' ')
|
||||
let newValue = classes.reduce((memo, cls) => {
|
||||
if (memo.indexOf(fillSpaces(cls)) < 0) {
|
||||
@ -63,7 +63,7 @@ export function removeClass(
|
||||
}
|
||||
|
||||
if ((!selector || typeof selector === 'string') && elem.nodeType === 1) {
|
||||
const classes = (selector || '').match(rnotwhite) || []
|
||||
const classes: string[] = (selector || '').match(rnotwhite) || []
|
||||
const oldValue = fillSpaces(getClass(elem)).replace(rclass, ' ')
|
||||
let newValue = classes.reduce((memo, cls) => {
|
||||
const className = fillSpaces(cls)
|
||||
|
@ -41,7 +41,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -47,7 +47,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/clipboard",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -48,7 +48,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/dnd",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -46,7 +46,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/export",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -1,3 +1,10 @@
|
||||
## @antv/x6-plugin-history [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-history@2.1.0...@antv/x6-plugin-history@2.1.1) (2022-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* deep clone instead of shallow clone ([#2924](https://github.com/antvis/x6/issues/2924)) ([75f4297](https://github.com/antvis/x6/commit/75f42978cb0ed4c9e7c7ac141ffa29603cb27596))
|
||||
|
||||
# @antv/x6-plugin-history [2.1.0](https://github.com/antvis/x6/compare/@antv/x6-plugin-history@2.0.0...@antv/x6-plugin-history@2.1.0) (2022-11-24)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-history",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.1",
|
||||
"description": "history plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -47,7 +47,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/history",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -366,7 +366,7 @@ export class History
|
||||
if (data.prev == null) {
|
||||
data.prev = {}
|
||||
}
|
||||
data.prev[key] = ObjectExt.clone(cell.previous(key))
|
||||
data.prev[key] = ObjectExt.cloneDeep(cell.previous(key))
|
||||
|
||||
if (isModelChange) {
|
||||
cmd.modelChange = true
|
||||
@ -378,7 +378,7 @@ export class History
|
||||
if (data.next == null) {
|
||||
data.next = {}
|
||||
}
|
||||
data.next[key] = ObjectExt.clone(cell.prop(key))
|
||||
data.next[key] = ObjectExt.cloneDeep(cell.prop(key))
|
||||
return this.push(cmd, options)
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
## @antv/x6-plugin-keyboard [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-keyboard@2.1.0...@antv/x6-plugin-keyboard@2.1.1) (2022-11-25)
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* update deps ([f20127a](https://github.com/antvis/x6/commit/f20127af555d9b7beaac3a07ac308d5c0d4e53a3))
|
||||
|
||||
# @antv/x6-plugin-keyboard [2.1.0](https://github.com/antvis/x6/compare/@antv/x6-plugin-keyboard@2.0.0...@antv/x6-plugin-keyboard@2.1.0) (2022-11-24)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-keyboard",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.1",
|
||||
"description": "keyboard plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -44,14 +44,14 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antv/x6": "^2.x",
|
||||
"@types/mousetrap": "^1.6.5"
|
||||
"@types/mousetrap": "^1.6.11"
|
||||
},
|
||||
"author": {
|
||||
"name": "bubkoo",
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/keyboard",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -48,7 +48,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/minimap",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -48,7 +48,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/scroller",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -1,3 +1,10 @@
|
||||
## @antv/x6-plugin-selection [2.1.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-selection@2.1.1...@antv/x6-plugin-selection@2.1.2) (2022-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* support antd5 in react components ([#2933](https://github.com/antvis/x6/issues/2933)) ([2ecc213](https://github.com/antvis/x6/commit/2ecc213094250b476b533b444c0f3716f88b7987))
|
||||
|
||||
## @antv/x6-plugin-selection [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-selection@2.1.0...@antv/x6-plugin-selection@2.1.1) (2022-11-24)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-selection",
|
||||
"version": "2.1.1",
|
||||
"version": "2.1.2",
|
||||
"description": "selection plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -48,7 +48,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/selection",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -48,7 +48,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/snapline",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -50,7 +50,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/stencil",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -48,7 +48,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/transform",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -1,3 +1,24 @@
|
||||
## @antv/x6-react-components [2.0.3](https://github.com/antvis/x6/compare/@antv/x6-react-components@2.0.2...@antv/x6-react-components@2.0.3) (2022-11-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* support antd5 in react components ([#2933](https://github.com/antvis/x6/issues/2933)) ([2ecc213](https://github.com/antvis/x6/commit/2ecc213094250b476b533b444c0f3716f88b7987))
|
||||
* update react type version ([#2937](https://github.com/antvis/x6/issues/2937)) ([d4df46a](https://github.com/antvis/x6/commit/d4df46ab40c0f2fb6e7a76fc0083d7b4710555b9))
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* update deps ([f20127a](https://github.com/antvis/x6/commit/f20127af555d9b7beaac3a07ac308d5c0d4e53a3))
|
||||
|
||||
## @antv/x6-react-components [2.0.3](https://github.com/antvis/x6/compare/@antv/x6-react-components@2.0.2...@antv/x6-react-components@2.0.3) (2022-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* support antd5 in react components ([#2933](https://github.com/antvis/x6/issues/2933)) ([2ecc213](https://github.com/antvis/x6/commit/2ecc213094250b476b533b444c0f3716f88b7987))
|
||||
* update react type version ([#2937](https://github.com/antvis/x6/issues/2937)) ([d4df46a](https://github.com/antvis/x6/commit/d4df46ab40c0f2fb6e7a76fc0083d7b4710555b9))
|
||||
|
||||
## @antv/x6-react-components [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-react-components@2.0.1...@antv/x6-react-components@2.0.2) (2022-11-24)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-react-components",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"description": "React components for building x6 editors",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -48,7 +48,7 @@
|
||||
"antv"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"antd": ">=4.4.2",
|
||||
"antd": ">=4.4.2 || >=5.0.0",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
@ -62,12 +62,12 @@
|
||||
"ua-parser-js": "^0.7.20"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.0.25",
|
||||
"@types/react": "^18.0.0",
|
||||
"@types/react-color": "^3.0.1",
|
||||
"@types/react-dom": "^18.0.0",
|
||||
"@types/react-resize-detector": "^5.0.0",
|
||||
"@types/react-resize-detector": "^6.1.0",
|
||||
"@types/react-dom": "^18.0.9",
|
||||
"@types/ua-parser-js": "^0.7.33",
|
||||
"antd": "^4.4.2",
|
||||
"antd": "^5.0.0",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
@ -76,7 +76,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
@ -88,6 +88,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org"
|
||||
},
|
||||
"gitHead": "576fa342fa65a6867ead29f6801a30dcb31bcdb5"
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,6 @@ import React from 'react'
|
||||
import classNames from 'classnames'
|
||||
import { Popover } from 'antd'
|
||||
import { PopoverProps } from 'antd/es/popover'
|
||||
import 'antd/es/popover/style/index.css'
|
||||
import addEventListener from 'rc-util/lib/Dom/addEventListener'
|
||||
import {
|
||||
SketchPicker,
|
||||
@ -104,8 +103,12 @@ export class ColorPicker extends React.Component<
|
||||
const popoverProps: PopoverProps = {}
|
||||
if (disabled) {
|
||||
popoverProps.visible = false
|
||||
// Support for antd 5.0
|
||||
popoverProps.open = false
|
||||
} else {
|
||||
popoverProps.visible = this.state.active
|
||||
// Support for antd 5.0
|
||||
popoverProps.open = this.state.active
|
||||
}
|
||||
|
||||
const colorStr =
|
||||
|
@ -2,7 +2,6 @@ import React from 'react'
|
||||
import classNames from 'classnames'
|
||||
import { Tooltip } from 'antd'
|
||||
import { TooltipProps } from 'antd/es/tooltip'
|
||||
import 'antd/es/tooltip/style/index.css'
|
||||
import { Menu } from '../menu'
|
||||
import { Dropdown } from '../dropdown'
|
||||
import { ToolbarContext } from './context'
|
||||
|
@ -1,3 +1,10 @@
|
||||
## @antv/x6-react-shape [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-react-shape@2.0.1...@antv/x6-react-shape@2.0.2) (2022-11-25)
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* update deps ([f20127a](https://github.com/antvis/x6/commit/f20127af555d9b7beaac3a07ac308d5c0d4e53a3))
|
||||
|
||||
## @antv/x6-react-shape [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-react-shape@2.0.0...@antv/x6-react-shape@2.0.1) (2022-11-24)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-react-shape",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"description": "X6 shape for rendering react components.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -45,7 +45,7 @@
|
||||
"devDependencies": {
|
||||
"@antv/x6": "^2.x",
|
||||
"@types/react": "^18.0.25",
|
||||
"@types/react-dom": "^18.0.0",
|
||||
"@types/react-dom": "^18.0.9",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
@ -54,7 +54,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/intermediate/react",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
@ -66,6 +66,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org"
|
||||
},
|
||||
"gitHead": "576fa342fa65a6867ead29f6801a30dcb31bcdb5"
|
||||
}
|
||||
}
|
||||
|
@ -1 +1,8 @@
|
||||
## @antv/x6-vue-shape [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-vue-shape@2.0.1...@antv/x6-vue-shape@2.0.2) (2022-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* updae react-resize-detector version ([#2930](https://github.com/antvis/x6/issues/2930)) ([d6ae519](https://github.com/antvis/x6/commit/d6ae5199c00be6429a828f537b194adddd2b6aeb))
|
||||
|
||||
## @antv/x6-vue-shape [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-vue-shape@2.0.0...@antv/x6-vue-shape@2.0.1) (2022-11-24)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-vue-shape",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"description": "X6 shape for rendering vue components.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -59,7 +59,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/intermediate/vue",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
@ -71,6 +71,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org"
|
||||
},
|
||||
"gitHead": "576fa342fa65a6867ead29f6801a30dcb31bcdb5"
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
## @antv/x6 [2.0.2](https://github.com/antvis/x6/compare/@antv/x6@2.0.1...@antv/x6@2.0.2) (2022-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* get correct center when zoom ([#2934](https://github.com/antvis/x6/issues/2934)) ([557d2df](https://github.com/antvis/x6/commit/557d2df1529226e505e3488a43fa358191d79271))
|
||||
|
||||
## @antv/x6 [2.0.1](https://github.com/antvis/x6/compare/@antv/x6@2.0.0...@antv/x6@2.0.1) (2022-11-24)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"description": "JavaScript diagramming library that uses SVG and HTML for rendering",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -53,7 +53,7 @@
|
||||
"email": "bubkoo.wy@gmail.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antvis/x6",
|
||||
"homepage": "https://x6.antv.antgroup.com/tutorial/about",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/x6/issues"
|
||||
},
|
||||
|
@ -114,7 +114,10 @@ export class MouseWheel extends Base {
|
||||
|
||||
if (targetScale !== currentScale) {
|
||||
if (this.widgetOptions.zoomAtMousePosition) {
|
||||
const origin = this.graph.coord.clientToLocalPoint(this.startPos)
|
||||
const hasScroller = !!this.graph.getPlugin<any>('scroller')
|
||||
const origin = hasScroller
|
||||
? this.graph.clientToLocal(this.startPos)
|
||||
: this.graph.clientToGraph(this.startPos)
|
||||
this.graph.zoom(targetScale, {
|
||||
absolute: true,
|
||||
center: origin.clone(),
|
||||
|
15129
pnpm-lock.yaml
generated
15129
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
packages:
|
||||
- packages/*
|
||||
- examples/*
|
||||
# - examples/*
|
||||
# - 'sites/*'
|
||||
|
@ -37,7 +37,7 @@
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^4.2.1",
|
||||
"@stackblitz/sdk": "^1.4.0",
|
||||
"antd": "^4.4.2",
|
||||
"antd": "^5.0.0",
|
||||
"chalk": "^4.1.0",
|
||||
"codesandbox": "^2.2.1",
|
||||
"folder-hash": "^3.3.2",
|
||||
|
@ -5,7 +5,6 @@ import Icon, {
|
||||
CodeSandboxOutlined,
|
||||
} from '@ant-design/icons'
|
||||
import { Tooltip } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
// import stackblitzSdk from '@stackblitz/sdk'
|
||||
import { getParameters } from 'codesandbox/lib/api/define'
|
||||
import './index.css'
|
||||
|
@ -2,7 +2,6 @@ import React, { PropsWithChildren } from 'react'
|
||||
import { Alert } from 'antd'
|
||||
import { Helmet } from 'react-helmet'
|
||||
import { Content } from './content'
|
||||
import 'antd/es/alert/style/index.css'
|
||||
|
||||
export const Wrap: React.FC<PropsWithChildren> = ({ children }) => (
|
||||
<Alert.ErrorBoundary>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Switch, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,8 +3,8 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6-react-components": "2.0.0-beta.1",
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6-react-components": "^2.x",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Switch, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Radio, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Radio, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Radio, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Slider, Radio, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Radio, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React from 'react'
|
||||
import { Color } from '@antv/x6'
|
||||
import { Input, Slider, Card, Row, Col } from 'antd'
|
||||
import 'antd/dist/antd.css'
|
||||
|
||||
export interface Props {
|
||||
onChange: (state: State) => void
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "2.0.0-beta.5",
|
||||
"@antv/x6": "^2.x",
|
||||
"@antv/x6-sites-demos-helper": "2.x",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^18.0.0",
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user