Compare commits

..

13 Commits

184 changed files with 214 additions and 218 deletions
.github/workflows
CONTRIBUTORSCONTRIBUTORS.svg
packages
x6-plugin-history
x6-plugin-selection
x6-react-components
package.json
src
color-picker
toolbar
x6-vue-shape
x6
pnpm-workspace.yaml
sites
x6-sites-demos-helper
x6-sites-demos/packages
api
graph
registry
attr
background
connection-point/playground
connector
edge-anchor/playground
edge-tool
anchor
arrowhead
boundary
button-remove
button
custom-arrowhead
custom-vertices
segments
vertices
filter
grid
node-anchor/playground
node-tool
boundary
button-remove
button
custom-button
editor
port-label-layout
port-layout
router
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
connecting
embedding
highlighting
node
port
best-practice
dynamic
serialization
to-json-diff
to-json
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

@ -62,10 +62,10 @@ jobs:
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'

@ -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

@ -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",

@ -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-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 @@
"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/ua-parser-js": "^0.7.33",
"antd": "^4.4.2",
"antd": "^5.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},

@ -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 +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",

@ -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",

@ -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(),

@ -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",

@ -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, 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",

@ -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 { 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 { 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",

@ -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 { Slider, Checkbox, 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",

Some files were not shown because too many files have changed in this diff Show More