Compare commits
44 Commits
@antv/x6@1
...
@antv/x6@1
Author | SHA1 | Date | |
---|---|---|---|
de35af5d84 | |||
d59e62605a | |||
b242a00bd0 | |||
0b27331a4d | |||
05c3821ee9 | |||
afeab7b300 | |||
897a1a1812 | |||
399ca71075 | |||
7c4e1b9272 | |||
b8330d164b | |||
d761f59789 | |||
a07be165f0 | |||
8c7dec349d | |||
733fb867b2 | |||
709f6021be | |||
3ca9d416ff | |||
8f891d06b6 | |||
ea14d843cc | |||
25d56d0a66 | |||
1e7a14d21d | |||
d6e6b907fd | |||
ba1fc3fd77 | |||
d44dce03de | |||
7873c546ff | |||
31c124aec7 | |||
91a59c7709 | |||
13e5cf36e1 | |||
537c3e8a50 | |||
549fe1cf56 | |||
2b46e804c3 | |||
745a9f4367 | |||
eef7ccf8bd | |||
1f7603ec05 | |||
5814103767 | |||
595858558e | |||
a6e3b4d4d3 | |||
466bc5d324 | |||
2bdd945670 | |||
a1ed7ee212 | |||
aeed9a6d3c | |||
18e5eb8378 | |||
609ed7e3d3 | |||
8a8d14abfa | |||
c6ca04317b |
1
AUTHORS
1
AUTHORS
@ -64,6 +64,7 @@ qu <33251372+Qujh97@users.noreply.github.com>
|
||||
sallen450 <qinghua10199@gmail.com>
|
||||
semantic-release-bot <semantic-release-bot@martynus.net>
|
||||
vector <vectorse@126.com>
|
||||
wenbei <38773084+wb-wenbei@users.noreply.github.com>
|
||||
wgf <34190465+evelope@users.noreply.github.com>
|
||||
wind <>
|
||||
wjqsummer <52412389+wjqsummer@users.noreply.github.com>
|
||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 14 MiB After Width: | Height: | Size: 15 MiB |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"peerDependencies": {
|
||||
"antd": ">=4.4.2"
|
||||
"antd": ">=4.4.2 || >=5.0.0-beta.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"antd": "^4.4.2"
|
||||
|
@ -327,6 +327,7 @@ export default class Example extends React.Component {
|
||||
container: this.container,
|
||||
width: 800,
|
||||
height: 600,
|
||||
snapline: true,
|
||||
panning: {
|
||||
enabled: true,
|
||||
eventTypes: ['leftMouseDown', 'mouseWheel'],
|
||||
|
@ -1,3 +0,0 @@
|
||||
import { version } from '@antv/x6-vector'
|
||||
|
||||
console.log(version)
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-angular-shape",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"description": "X6 shape for rendering angular components.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -49,7 +49,7 @@
|
||||
"@angular/cdk": ">=10.2.3",
|
||||
"@angular/common": "^10.2.3",
|
||||
"@angular/core": ">=10.2.3",
|
||||
"@antv/x6": ">=1.0.0"
|
||||
"@antv/x6": "^1.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/cdk": "^10.2.3",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.14",
|
||||
"name": "@antv/x6-geometry",
|
||||
"description": "Some useful geometry operations.",
|
||||
"main": "lib/index.js",
|
||||
@ -26,17 +26,16 @@
|
||||
"build:esm": "tsc --module esnext --target es2015 --outDir ./es",
|
||||
"build:cjs": "tsc --module commonjs --target es5 --outDir ./lib",
|
||||
"build:umd": "rollup -c",
|
||||
"build:version": "node ../../scripts/version.js",
|
||||
"build:watch": "yarn build:esm --w",
|
||||
"build:watch:esm": "yarn build:esm --w",
|
||||
"build:watch:cjs": "yarn build:cjs --w",
|
||||
"build:dev": "run-p build:cjs build:esm",
|
||||
"build": "run-p build:version build:dev build:umd",
|
||||
"build": "run-p build:dev build:umd",
|
||||
"prebuild": "run-s lint clean",
|
||||
"test": "jest",
|
||||
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
|
||||
"pretest": "run-p clean:coverage",
|
||||
"prepare": "run-s build:version test build",
|
||||
"prepare": "run-s test build",
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
@ -1,4 +1,3 @@
|
||||
export * from './version'
|
||||
export * from './angle'
|
||||
export * from './point'
|
||||
export * from './line'
|
||||
|
@ -1,9 +0,0 @@
|
||||
import { version } from './version'
|
||||
|
||||
describe('version', () => {
|
||||
it('should match the `version` field of package.json', () => {
|
||||
// eslint-disable-next-line
|
||||
const expected = require('../package.json').version
|
||||
expect(version).toBe(expected)
|
||||
})
|
||||
})
|
@ -1,7 +0,0 @@
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* Auto generated version file, do not modify it!
|
||||
*/
|
||||
const version = '1.0.12'
|
||||
export { version }
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-react-components",
|
||||
"version": "1.1.19",
|
||||
"version": "1.1.20",
|
||||
"description": "React components for building x6 editors",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -61,7 +61,7 @@
|
||||
"@antv/x6-package-json/rollup.json"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"antd": ">=4.4.2",
|
||||
"antd": ">=4.4.2 || >=5.0.0-beta.0",
|
||||
"react": ">=16.8.6 || >=17.0.0",
|
||||
"react-dom": ">=16.8.6 || >=17.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,
|
||||
@ -101,11 +100,15 @@ export class ColorPicker extends React.Component<
|
||||
const { color } = this.state
|
||||
const { disabled, overlayProps, style } = this.props
|
||||
const baseCls = `${this.props.prefixCls}-color-picker`
|
||||
const popoverProps: PopoverProps = {}
|
||||
const popoverProps: PopoverProps & { open?: boolean } = {}
|
||||
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,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-react-shape",
|
||||
"version": "1.6.3",
|
||||
"version": "1.6.4",
|
||||
"description": "X6 shape for rendering react components.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -47,7 +47,7 @@
|
||||
"@antv/x6-package-json/rollup.json"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"@antv/x6": ">=1.0.0",
|
||||
"@antv/x6": "^1.x",
|
||||
"react": ">=16.8.6 || >=17.0.0",
|
||||
"react-dom": ">=16.8.6 || >=17.0.0"
|
||||
},
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.4.0",
|
||||
"version": "1.4.2",
|
||||
"name": "@antv/x6-vector",
|
||||
"description": "Lightweight library for manipulating and animating SVG.",
|
||||
"main": "lib/index.js",
|
||||
@ -26,20 +26,19 @@
|
||||
"build:esm": "tsc --module esnext --target es2015 --outDir ./es",
|
||||
"build:cjs": "tsc --module commonjs --target es5 --outDir ./lib",
|
||||
"build:umd": "rollup -c",
|
||||
"build:version": "node ../../scripts/version.js",
|
||||
"build:csstype": "node ./scripts/csstype.js",
|
||||
"build:watch": "yarn build:esm --w",
|
||||
"build:watch:esm": "yarn build:esm --w",
|
||||
"build:watch:cjs": "yarn build:cjs --w",
|
||||
"build:dev": "run-p build:csstype build:cjs build:esm",
|
||||
"build": "run-p build:version build:dev build:umd",
|
||||
"build": "run-p build:dev build:umd",
|
||||
"prebuild": "run-s lint clean",
|
||||
"test": "karma start",
|
||||
"test:watch": "karma start --single-run=false --auto-watch",
|
||||
"test:debug": "karma start --browsers=Chrome --single-run=false --auto-watch --debug",
|
||||
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
|
||||
"pretest": "run-p clean:coverage",
|
||||
"prepare": "run-s build:version test build",
|
||||
"prepare": "run-s test build",
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
@ -1,9 +0,0 @@
|
||||
import { version } from './version'
|
||||
|
||||
describe('version', () => {
|
||||
it('should match the `version` field of package.json', () => {
|
||||
// eslint-disable-next-line
|
||||
const expected = require('../../package.json').version
|
||||
expect(version).toBe(expected)
|
||||
})
|
||||
})
|
@ -1,7 +0,0 @@
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* Auto generated version file, do not modify it!
|
||||
*/
|
||||
const version = '1.4.0'
|
||||
export { version }
|
@ -1,3 +1,2 @@
|
||||
export * from './global/version'
|
||||
export * from './dom'
|
||||
export * from './vector'
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-vue-shape",
|
||||
"version": "1.5.3",
|
||||
"version": "1.5.4",
|
||||
"description": "X6 shape for rendering vue components.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -48,7 +48,7 @@
|
||||
"vue-demi": "latest"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@antv/x6": ">=1.0.0",
|
||||
"@antv/x6": "^1.x",
|
||||
"@vue/composition-api": "^1.0.0-rc.6",
|
||||
"vue": "^2.6.12 || ^3.0.0"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6",
|
||||
"version": "1.34.3",
|
||||
"version": "1.34.13",
|
||||
"description": "JavaScript diagramming library that uses SVG and HTML for rendering.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -36,18 +36,17 @@
|
||||
"build:umd": "rollup -c",
|
||||
"build:less": "node ./scripts/style",
|
||||
"build:readme": "node ./scripts/readme.js",
|
||||
"build:version": "node ../../scripts/version.js",
|
||||
"build:csstype": "node ./scripts/csstype.js",
|
||||
"build:dev": "run-p build:csstype build:less build:cjs build:esm",
|
||||
"build:watch": "yarn build:esm --w",
|
||||
"build:watch:esm": "yarn build:esm --w",
|
||||
"build:watch:cjs": "yarn build:cjs --w",
|
||||
"build": "run-p build:readme build:version build:dev build:umd",
|
||||
"build": "run-p build:readme build:dev build:umd",
|
||||
"prebuild": "run-s lint clean",
|
||||
"test": "karma start",
|
||||
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
|
||||
"pretest": "run-p clean:coverage",
|
||||
"prepare": "run-s build:version test build",
|
||||
"prepare": "run-s test build",
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
@ -73,7 +73,7 @@ export class Dnd extends View {
|
||||
this.targetModel.startBatch('dnd')
|
||||
this.$container
|
||||
.addClass('dragging')
|
||||
.appendTo(this.options.containerParent || document.body)
|
||||
.appendTo(this.options.draggingContainer || document.body)
|
||||
|
||||
this.sourceNode = node
|
||||
this.prepareDragging(node, e.clientX, e.clientY)
|
||||
@ -462,7 +462,7 @@ export namespace Dnd {
|
||||
duration?: number
|
||||
easing?: string
|
||||
}
|
||||
containerParent?: HTMLElement
|
||||
draggingContainer?: HTMLElement
|
||||
/**
|
||||
* dnd tool box container.
|
||||
*/
|
||||
|
@ -125,23 +125,16 @@ export class Selection extends View<Selection.EventArgs> {
|
||||
options,
|
||||
}: Collection.EventArgs['node:change:position']) {
|
||||
const { showNodeSelectionBox, pointerEvents } = this.options
|
||||
const { ui, selection, translateBy } = options
|
||||
let allowTranslating = !this.translating
|
||||
const { ui, selection, translateBy, snapped } = options
|
||||
|
||||
/* Scenarios where this method is not called:
|
||||
* 1. ShowNodeSelection is true or ponterEvents is none
|
||||
* 2. Avoid circular calls with the selection tag
|
||||
*/
|
||||
allowTranslating =
|
||||
allowTranslating &&
|
||||
(showNodeSelectionBox !== true || pointerEvents === 'none')
|
||||
allowTranslating = allowTranslating && ui && !selection
|
||||
const allowTranslating =
|
||||
(showNodeSelectionBox !== true || pointerEvents === 'none') &&
|
||||
!this.translating &&
|
||||
!selection
|
||||
|
||||
// Avoid circular calls of child nodes
|
||||
allowTranslating =
|
||||
allowTranslating && translateBy && node.id === translateBy
|
||||
const translateByUi = ui && translateBy && node.id === translateBy
|
||||
|
||||
if (allowTranslating) {
|
||||
if (allowTranslating && (translateByUi || snapped)) {
|
||||
this.translating = true
|
||||
const current = node.position()
|
||||
const previous = node.previous('position')!
|
||||
|
@ -45,7 +45,7 @@ export class PriorityQueue<T> {
|
||||
*/
|
||||
insert(priority: number, value: T, id?: string) {
|
||||
const item: PriorityQueue.DataItem<T> = { priority, value }
|
||||
const index = this.data.length - 1
|
||||
const index = this.data.length
|
||||
if (id) {
|
||||
item.id = id
|
||||
this.index[id] = index
|
||||
@ -96,7 +96,9 @@ export class PriorityQueue<T> {
|
||||
const data = this.data
|
||||
const peek = data[0]
|
||||
const last = data.pop()!
|
||||
delete this.index[data.length]
|
||||
if (peek.id) {
|
||||
delete this.index[peek.id]
|
||||
}
|
||||
|
||||
if (data.length > 0) {
|
||||
data[0] = last
|
||||
|
@ -1,3 +1,2 @@
|
||||
export * from './util'
|
||||
export * from './config'
|
||||
export * from './version'
|
||||
|
@ -1,23 +0,0 @@
|
||||
import { Config } from './config'
|
||||
import { version } from './version'
|
||||
|
||||
function track() {
|
||||
if (Config.trackable) {
|
||||
const host = 'https://kcart.alipay.com/web/bi.do'
|
||||
const img = new Image()
|
||||
const metadata = {
|
||||
...Config.trackInfo,
|
||||
version,
|
||||
pg: document.URL,
|
||||
r: new Date().getTime(),
|
||||
x6: true,
|
||||
page_type: 'syslog',
|
||||
}
|
||||
const data = encodeURIComponent(JSON.stringify([metadata]))
|
||||
img.src = `${host}?BIProfile=merge&d=${data}`
|
||||
}
|
||||
}
|
||||
|
||||
if (process.env.NODE_ENV !== 'development' && Config.trackable) {
|
||||
setTimeout(track, 3000)
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
import { version } from './version'
|
||||
|
||||
describe('version', () => {
|
||||
it('should match the `version` field of package.json', () => {
|
||||
// eslint-disable-next-line
|
||||
const expected = require('../../package.json').version
|
||||
expect(version).toBe(expected)
|
||||
})
|
||||
})
|
@ -1,7 +0,0 @@
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* Auto generated version file, do not modify it!
|
||||
*/
|
||||
const version = '1.34.2'
|
||||
export { version }
|
@ -204,7 +204,7 @@ export class HistoryManager
|
||||
(Util.isAddEvent(event) && revert) ||
|
||||
(Util.isRemoveEvent(event) && !revert)
|
||||
) {
|
||||
cell.remove(options)
|
||||
cell && cell.remove(options)
|
||||
} else if (
|
||||
(Util.isAddEvent(event) && !revert) ||
|
||||
(Util.isRemoveEvent(event) && revert)
|
||||
@ -218,7 +218,7 @@ export class HistoryManager
|
||||
} else if (Util.isChangeEvent(event)) {
|
||||
const data = cmd.data as HistoryManager.ChangingData
|
||||
const key = data.key
|
||||
if (key) {
|
||||
if (key && cell) {
|
||||
const value = revert ? data.prev[key] : data.next[key]
|
||||
cell.prop(key, value, options)
|
||||
}
|
||||
|
@ -2,10 +2,6 @@ import { Shape } from './shape'
|
||||
import * as Addon from './addon'
|
||||
import * as Registry from './registry'
|
||||
|
||||
// start track
|
||||
// -----------
|
||||
import './global/track'
|
||||
|
||||
export * from './util'
|
||||
export * from './common'
|
||||
export * from './geometry'
|
||||
|
@ -76,11 +76,16 @@ export class ObstacleMap {
|
||||
const excludeShapes = options.excludeShapes
|
||||
const excType = shape ? excludeShapes.includes(shape) : false
|
||||
const excTerminal = excludedTerminals.some((cell) => cell.id === node.id)
|
||||
const excNode = options.excludeNodes.includes(node)
|
||||
const excludedNode = options.excludeNodes.some((item) => {
|
||||
if (typeof item === 'string') {
|
||||
return node.id === item
|
||||
}
|
||||
return item === node
|
||||
})
|
||||
const excAncestor = excludedAncestors.includes(node.id)
|
||||
const excHidden = options.excludeHiddenNodes && !node.isVisible()
|
||||
const excluded =
|
||||
excType || excTerminal || excNode || excAncestor || excHidden
|
||||
excType || excTerminal || excludedNode || excAncestor || excHidden
|
||||
|
||||
if (!excluded) {
|
||||
const bbox = node.getBBox().moveAndExpand(options.paddingBox)
|
||||
|
@ -49,7 +49,7 @@ export interface ResolvedOptions {
|
||||
/**
|
||||
* Should certain nodes not be considered as obstacles?
|
||||
*/
|
||||
excludeNodes: Node[]
|
||||
excludeNodes: (Node | string)[]
|
||||
|
||||
/**
|
||||
* Should certain hidden nodes not be considered as obstacles?
|
||||
|
@ -327,6 +327,8 @@ export const router: Router.Definition<ManhattanRouterOptions> = function (
|
||||
|
||||
// Cannot found the partial route.
|
||||
if (partialRoute === null) {
|
||||
// eslint-next-line
|
||||
console.warn(`Unable to execute manhattan algorithm, use orth instead`)
|
||||
return FunctionExt.call(
|
||||
options.fallbackRouter,
|
||||
this,
|
||||
|
@ -445,7 +445,11 @@ function setupAnimation(
|
||||
repeat && animate.addEventListener('repeatEvent', repeat)
|
||||
|
||||
const ani = animate as any
|
||||
ani.beginElement()
|
||||
|
||||
setTimeout(() => {
|
||||
ani.beginElement()
|
||||
})
|
||||
|
||||
return () => ani.endElement()
|
||||
}
|
||||
|
||||
|
@ -1,56 +1,70 @@
|
||||
const ua = navigator.userAgent
|
||||
/* eslint-disable no-underscore-dangle */
|
||||
let _IS_MAC = false
|
||||
let _IS_IOS = false
|
||||
let _IS_WINDOWS = false
|
||||
let _IS_IE = false
|
||||
let _IS_IE11 = false
|
||||
let _IS_EDGE = false
|
||||
let _IS_NETSCAPE = false
|
||||
let _IS_CHROME_APP = false
|
||||
let _IS_CHROME = false
|
||||
let _IS_OPERA = false
|
||||
let _IS_FIREFOX = false
|
||||
let _IS_SAFARI = false
|
||||
let _SUPPORT_TOUCH = false
|
||||
let _SUPPORT_POINTER = false
|
||||
let _SUPPORT_PASSIVE = false
|
||||
let _NO_FOREIGNOBJECT = false
|
||||
|
||||
export namespace Platform {
|
||||
export const IS_MAC = navigator.appVersion.indexOf('Mac') > 0
|
||||
export const IS_IOS = !!ua.match(/(iPad|iPhone|iPod)/g)
|
||||
export const IS_WINDOWS = navigator.appVersion.indexOf('Win') > 0
|
||||
if (typeof navigator === 'object') {
|
||||
const ua = navigator.userAgent
|
||||
_IS_MAC = ua.indexOf('Macintosh') >= 0
|
||||
_IS_IOS = !!ua.match(/(iPad|iPhone|iPod)/g)
|
||||
_IS_WINDOWS = ua.indexOf('Windows') >= 0
|
||||
|
||||
export const IS_IE = ua.indexOf('MSIE') >= 0
|
||||
export const IS_IE11 = !!ua.match(/Trident\/7\./)
|
||||
export const IS_EDGE = !!ua.match(/Edge\//)
|
||||
_IS_IE = ua.indexOf('MSIE') >= 0
|
||||
_IS_IE11 = !!ua.match(/Trident\/7\./)
|
||||
_IS_EDGE = !!ua.match(/Edge\//)
|
||||
|
||||
/**
|
||||
* A flag indicating whether the browser is Netscape (including Firefox).
|
||||
*/
|
||||
export const IS_NETSCAPE =
|
||||
_IS_NETSCAPE =
|
||||
ua.indexOf('Mozilla/') >= 0 &&
|
||||
ua.indexOf('MSIE') < 0 &&
|
||||
ua.indexOf('Edge/') < 0
|
||||
|
||||
/**
|
||||
* A flag indicating whether the the this is running inside a Chrome App.
|
||||
*/
|
||||
export const IS_CHROME_APP =
|
||||
(window as any).chrome != null &&
|
||||
(window as any).chrome.app != null &&
|
||||
(window as any).chrome.app.runtime != null
|
||||
|
||||
export const IS_CHROME = ua.indexOf('Chrome/') >= 0 && ua.indexOf('Edge/') < 0
|
||||
export const IS_OPERA = ua.indexOf('Opera/') >= 0 || ua.indexOf('OPR/') >= 0
|
||||
export const IS_FIREFOX = ua.indexOf('Firefox/') >= 0
|
||||
export const IS_SAFARI =
|
||||
_IS_CHROME = ua.indexOf('Chrome/') >= 0 && ua.indexOf('Edge/') < 0
|
||||
_IS_OPERA = ua.indexOf('Opera/') >= 0 || ua.indexOf('OPR/') >= 0
|
||||
_IS_FIREFOX = ua.indexOf('Firefox/') >= 0
|
||||
_IS_SAFARI =
|
||||
ua.indexOf('AppleWebKit/') >= 0 &&
|
||||
ua.indexOf('Chrome/') < 0 &&
|
||||
ua.indexOf('Edge/') < 0
|
||||
|
||||
/**
|
||||
* A flag indicating whether this device supports touchstart/-move/-end
|
||||
* events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled
|
||||
* devices).
|
||||
*/
|
||||
export const SUPPORT_TOUCH = 'ontouchstart' in document.documentElement
|
||||
if (typeof document === 'object') {
|
||||
_NO_FOREIGNOBJECT =
|
||||
!document.createElementNS ||
|
||||
`${document.createElementNS(
|
||||
'http://www.w3.org/2000/svg',
|
||||
'foreignObject',
|
||||
)}` !== '[object SVGForeignObjectElement]' ||
|
||||
ua.indexOf('Opera/') >= 0
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A flag indicating whether this device supports Microsoft pointer events.
|
||||
*/
|
||||
export const SUPPORT_POINTER = (window as any).PointerEvent != null && !IS_MAC
|
||||
if (typeof window === 'object') {
|
||||
_IS_CHROME_APP =
|
||||
(window as any).chrome != null &&
|
||||
(window as any).chrome.app != null &&
|
||||
(window as any).chrome.app.runtime != null
|
||||
_SUPPORT_POINTER = (window as any).PointerEvent != null && !_IS_MAC
|
||||
}
|
||||
|
||||
export let SUPPORT_PASSIVE = false // eslint-disable-line import/no-mutable-exports
|
||||
if (typeof document === 'object') {
|
||||
_SUPPORT_TOUCH = 'ontouchstart' in document.documentElement
|
||||
|
||||
try {
|
||||
const options = Object.defineProperty({}, 'passive', {
|
||||
get() {
|
||||
SUPPORT_PASSIVE = true
|
||||
_SUPPORT_PASSIVE = true
|
||||
},
|
||||
})
|
||||
const div = document.createElement('div')
|
||||
@ -60,18 +74,50 @@ export namespace Platform {
|
||||
} catch (err) {
|
||||
// pass
|
||||
}
|
||||
}
|
||||
export namespace Platform {
|
||||
export const IS_MAC = _IS_MAC
|
||||
export const IS_IOS = _IS_IOS
|
||||
export const IS_WINDOWS = _IS_WINDOWS
|
||||
|
||||
export const IS_IE = _IS_IE
|
||||
export const IS_IE11 = _IS_IE11
|
||||
export const IS_EDGE = _IS_EDGE
|
||||
|
||||
/**
|
||||
* A flag indicating whether the browser is Netscape (including Firefox).
|
||||
*/
|
||||
export const IS_NETSCAPE = _IS_NETSCAPE
|
||||
|
||||
/**
|
||||
* A flag indicating whether the the this is running inside a Chrome App.
|
||||
*/
|
||||
export const IS_CHROME_APP = _IS_CHROME_APP
|
||||
|
||||
export const IS_CHROME = _IS_CHROME
|
||||
export const IS_OPERA = _IS_OPERA
|
||||
export const IS_FIREFOX = _IS_FIREFOX
|
||||
export const IS_SAFARI = _IS_SAFARI
|
||||
|
||||
/**
|
||||
* A flag indicating whether this device supports touchstart/-move/-end
|
||||
* events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled
|
||||
* devices).
|
||||
*/
|
||||
export const SUPPORT_TOUCH = _SUPPORT_TOUCH
|
||||
|
||||
/**
|
||||
* A flag indicating whether this device supports Microsoft pointer events.
|
||||
*/
|
||||
export const SUPPORT_POINTER = _SUPPORT_POINTER
|
||||
|
||||
export const SUPPORT_PASSIVE = _SUPPORT_PASSIVE
|
||||
|
||||
/**
|
||||
* A flag indicating whether foreignObject support is not available. This
|
||||
* is the case for Opera, older SVG-based browsers and all versions of IE.
|
||||
*/
|
||||
export const NO_FOREIGNOBJECT =
|
||||
!document.createElementNS ||
|
||||
`${document.createElementNS(
|
||||
'http://www.w3.org/2000/svg',
|
||||
'foreignObject',
|
||||
)}` !== '[object SVGForeignObjectElement]' ||
|
||||
ua.indexOf('Opera/') >= 0
|
||||
export const NO_FOREIGNOBJECT = _NO_FOREIGNOBJECT
|
||||
|
||||
export const SUPPORT_FOREIGNOBJECT = !NO_FOREIGNOBJECT
|
||||
}
|
||||
|
@ -861,7 +861,9 @@ export class NodeView<
|
||||
if (options.frontOnly) {
|
||||
if (candidates.length > 0) {
|
||||
const zIndexMap = ArrayExt.groupBy(candidates, 'zIndex')
|
||||
const maxZIndex = ArrayExt.max(Object.keys(zIndexMap))
|
||||
const maxZIndex = ArrayExt.max(
|
||||
Object.keys(zIndexMap).map((z) => parseInt(z, 10)),
|
||||
)
|
||||
if (maxZIndex) {
|
||||
candidates = zIndexMap[maxZIndex]
|
||||
}
|
||||
|
@ -421,7 +421,7 @@ export namespace ToolsView {
|
||||
return this
|
||||
}
|
||||
|
||||
protected stamp(elem: Element = this.container) {
|
||||
protected stamp(elem: Element) {
|
||||
if (elem) {
|
||||
elem.setAttribute('data-cell-id', this.cellView.cell.id)
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ import './index.css'
|
||||
// eslint-disable-next-line
|
||||
const repo = require('../../loaders/repo.js!./data.js')
|
||||
|
||||
const iconOpenInNewWindow: React.SFC = () => (
|
||||
const iconOpenInNewWindow: React.FC = () => (
|
||||
<svg
|
||||
width="15"
|
||||
height="12"
|
||||
|
@ -1,8 +1,11 @@
|
||||
import React from 'react'
|
||||
import React, { PropsWithChildren } from 'react'
|
||||
import { Toolbar } from '../toolbar'
|
||||
import './content.css'
|
||||
|
||||
export class Content extends React.Component<Content.Props, Content.State> {
|
||||
export class Content extends React.Component<
|
||||
PropsWithChildren<Content.Props>,
|
||||
Content.State
|
||||
> {
|
||||
private container: HTMLDivElement
|
||||
|
||||
constructor(props: Content.Props) {
|
||||
|
@ -15,9 +15,9 @@
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^4.2.1",
|
||||
"@antv/layout": "^0.1.9",
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6-react-components": "latest",
|
||||
"@antv/x6-react-shape": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-react-components": "1.x",
|
||||
"@antv/x6-react-shape": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "^1.2.2",
|
||||
"@types/d3-sankey": "^0.11.1",
|
||||
"@types/highlight.js": "^9.12.4",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,8 +3,8 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6-react-components": "latest",
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6-react-components": "1.x",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@antv/x6": "latest",
|
||||
"@antv/x6": "1.x",
|
||||
"@antv/x6-sites-demos-helper": "latest",
|
||||
"antd": "^4.4.2",
|
||||
"react": "^16.13.1",
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user