Skip to content

Commit

Permalink
feat:调试
Browse files Browse the repository at this point in the history
  • Loading branch information
yelikang committed Aug 19, 2024
1 parent 65ddd45 commit 5ebb94a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/x6-example-features/src/pages/minimap/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import { Graph } from '@antv/x6'
import { Graph } from '../../../../../packages/x6'
import { MiniMap } from '../../../../../packages/x6-plugin-minimap/src/index'
import { Scroller } from '@antv/x6-plugin-scroller'
import { Radio } from 'antd'
Expand Down
4 changes: 3 additions & 1 deletion packages/x6/src/graph/graph.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Basecoat, NumberExt, Dom, KeyValue } from '@antv/x6-common'
import { Basecoat, NumberExt, Dom, KeyValue } from '../../../x6-common'
import { Point, Rectangle } from '../../../x6-geometry/src/index'
import { Model, Collection, Cell, Node, Edge } from '../model'
import { CellView } from '../view'
Expand Down Expand Up @@ -52,6 +52,7 @@ export class Graph extends Basecoat<EventArgs> {
this.css = new Css(this)
this.view = new GraphView(this)
this.defs = new Defs(this)
// 坐标
this.coord = new Coord(this)
this.transform = new Transform(this)
this.highlight = new Highlight(this)
Expand All @@ -68,6 +69,7 @@ export class Graph extends Basecoat<EventArgs> {
this.renderer = new ViewRenderer(this)
this.panning = new Panning(this)
this.mousewheel = new Wheel(this)
// 虚拟渲染
this.virtualRender = new VirtualRender(this)
this.size = new Size(this)
}
Expand Down

0 comments on commit 5ebb94a

Please sign in to comment.