@hpcc-js/graph 2.85.0 → 2.85.1
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/index.es6.js +3 -3
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +2 -2
- package/src/__package__.ts +2 -2
- package/src/graph2/graphT.ts +1 -1
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/graph",
|
|
3
|
-
"version": "2.85.
|
|
3
|
+
"version": "2.85.1",
|
|
4
4
|
"description": "hpcc-js - Viz Graph",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es6",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
89
89
|
},
|
|
90
90
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "c1baf3e4992b882bbe526b550a72b873f0f4ccc2"
|
|
92
92
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/graph";
|
|
2
|
-
export const PKG_VERSION = "2.85.
|
|
3
|
-
export const BUILD_VERSION = "2.104.
|
|
2
|
+
export const PKG_VERSION = "2.85.1";
|
|
3
|
+
export const BUILD_VERSION = "2.104.16";
|
package/src/graph2/graphT.ts
CHANGED
|
@@ -219,7 +219,7 @@ export class GraphT<SG extends SubgraphBaseProps, V extends VertexBaseProps, E e
|
|
|
219
219
|
resolveEventOrigin(): { origin: string, data?: SG | V | E } {
|
|
220
220
|
const d3evt = d3Event();
|
|
221
221
|
const eventPath = d3evt?.sourceEvent?.path ?? d3evt?.path;
|
|
222
|
-
const element = eventPath
|
|
222
|
+
const element = eventPath?.find(n => n?.hasAttribute && n?.hasAttribute("data-click"));
|
|
223
223
|
const origin = element ? element.getAttribute("data-click") : "";
|
|
224
224
|
const dataStr = element ? element.getAttribute("data-click-data") : "";
|
|
225
225
|
let data = undefined;
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/graph";
|
|
2
|
-
export declare const PKG_VERSION = "2.85.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.85.1";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.16";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/graph";
|
|
2
|
-
export declare const PKG_VERSION = "2.85.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.85.1";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.16";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|