@cosmos.gl/graph 2.6.1 → 2.6.2-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +1 -1
- package/dist/helper.d.ts +2 -2
- package/dist/index.d.ts +50 -9
- package/dist/index.js +14493 -4978
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1690 -1
- package/dist/index.min.js.map +1 -1
- package/dist/modules/Clusters/index.d.ts +2 -2
- package/dist/modules/Drag/index.d.ts +3 -3
- package/dist/modules/ForceCenter/index.d.ts +1 -1
- package/dist/modules/ForceGravity/index.d.ts +1 -1
- package/dist/modules/ForceLink/index.d.ts +1 -1
- package/dist/modules/ForceManyBody/index.d.ts +1 -1
- package/dist/modules/ForceManyBodyQuadtree/index.d.ts +1 -1
- package/dist/modules/ForceMouse/index.d.ts +1 -1
- package/dist/modules/GraphData/index.d.ts +1 -1
- package/dist/modules/Lines/index.d.ts +2 -2
- package/dist/modules/Points/index.d.ts +2 -2
- package/dist/modules/Shared/buffer.d.ts +1 -1
- package/dist/modules/Store/index.d.ts +1 -1
- package/dist/modules/Zoom/index.d.ts +3 -3
- package/dist/modules/core-module.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import regl from 'regl';
|
|
2
|
-
import { CoreModule } from '
|
|
1
|
+
import { default as regl } from 'regl';
|
|
2
|
+
import { CoreModule } from '../core-module';
|
|
3
3
|
export declare class Clusters extends CoreModule {
|
|
4
4
|
centermassFbo: regl.Framebuffer2D | undefined;
|
|
5
5
|
clusterCount: number | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Store } from '
|
|
2
|
-
import { GraphConfigInterface } from '
|
|
1
|
+
import { Store } from '../Store';
|
|
2
|
+
import { GraphConfigInterface } from '../../config';
|
|
3
3
|
export declare class Drag {
|
|
4
4
|
readonly store: Store;
|
|
5
5
|
readonly config: GraphConfigInterface;
|
|
6
6
|
isActive: boolean;
|
|
7
|
-
behavior: import(
|
|
7
|
+
behavior: import('d3-drag').DragBehavior<HTMLCanvasElement, undefined, import('d3-drag').SubjectPosition | undefined>;
|
|
8
8
|
constructor(store: Store, config: GraphConfigInterface);
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import regl from 'regl';
|
|
2
|
-
import { CoreModule } from '
|
|
1
|
+
import { default as regl } from 'regl';
|
|
2
|
+
import { CoreModule } from '../core-module';
|
|
3
3
|
export declare class Lines extends CoreModule {
|
|
4
4
|
linkIndexFbo: regl.Framebuffer2D | undefined;
|
|
5
5
|
hoveredLineIndexFbo: regl.Framebuffer2D | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import regl from 'regl';
|
|
2
|
-
import { CoreModule } from '
|
|
1
|
+
import { default as regl } from 'regl';
|
|
2
|
+
import { CoreModule } from '../core-module';
|
|
3
3
|
export declare class Points extends CoreModule {
|
|
4
4
|
currentPositionFbo: regl.Framebuffer2D | undefined;
|
|
5
5
|
previousPositionFbo: regl.Framebuffer2D | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ZoomTransform } from 'd3-zoom';
|
|
2
|
-
import { Store } from '
|
|
3
|
-
import { GraphConfigInterface } from '
|
|
2
|
+
import { Store } from '../Store';
|
|
3
|
+
import { GraphConfigInterface } from '../../config';
|
|
4
4
|
export declare class Zoom {
|
|
5
5
|
readonly store: Store;
|
|
6
6
|
readonly config: GraphConfigInterface;
|
|
7
7
|
eventTransform: ZoomTransform;
|
|
8
|
-
behavior: import(
|
|
8
|
+
behavior: import('d3-zoom').ZoomBehavior<HTMLCanvasElement, undefined>;
|
|
9
9
|
isRunning: boolean;
|
|
10
10
|
constructor(store: Store, config: GraphConfigInterface);
|
|
11
11
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import regl from 'regl';
|
|
2
|
-
import { GraphConfigInterface } from '
|
|
3
|
-
import { GraphData } from '
|
|
4
|
-
import { Points } from '
|
|
5
|
-
import { Store } from '
|
|
1
|
+
import { default as regl } from 'regl';
|
|
2
|
+
import { GraphConfigInterface } from '../config';
|
|
3
|
+
import { GraphData } from './GraphData';
|
|
4
|
+
import { Points } from './Points';
|
|
5
|
+
import { Store } from './Store';
|
|
6
6
|
export declare class CoreModule {
|
|
7
7
|
readonly reglInstance: regl.Regl;
|
|
8
8
|
readonly config: GraphConfigInterface;
|