@hpcc-js/react 2.53.2 → 2.53.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/react",
3
- "version": "2.53.2",
3
+ "version": "2.53.3",
4
4
  "description": "hpcc-js - Viz React",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es6",
@@ -38,12 +38,12 @@
38
38
  "update": "npx --yes npm-check-updates -u -t minor"
39
39
  },
40
40
  "dependencies": {
41
- "@hpcc-js/common": "^2.71.6",
41
+ "@hpcc-js/common": "^2.71.7",
42
42
  "@hpcc-js/preact-shim": "^2.16.3"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@hpcc-js/bundle": "^2.11.3",
46
- "tslib": "2.4.0"
46
+ "tslib": "2.4.1"
47
47
  },
48
48
  "repository": {
49
49
  "type": "git",
@@ -56,5 +56,5 @@
56
56
  "url": "https://github.com/hpcc-systems/Visualization/issues"
57
57
  },
58
58
  "homepage": "https://github.com/hpcc-systems/Visualization",
59
- "gitHead": "b5b4cf9ee4257885b41a3f90c11cbe6609704d0d"
59
+ "gitHead": "cec45fe4a28dff27d43cf0bb9238d751534c8e88"
60
60
  }
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/react";
2
- export const PKG_VERSION = "2.53.2";
3
- export const BUILD_VERSION = "2.104.13";
2
+ export const PKG_VERSION = "2.53.3";
3
+ export const BUILD_VERSION = "2.104.14";
package/src/edge.tsx CHANGED
@@ -1,44 +1,45 @@
1
1
  import * as React from "@hpcc-js/preact-shim";
2
- import { curveBasis as d3CurveBasis, line as d3Line } from "d3-shape";
2
+ import { VertexProps } from "./vertex";
3
+ import { Text } from "./text";
3
4
 
4
5
  type Point = [number, number];
5
6
 
6
- const line = d3Line<Point>()
7
- .x(d => d[0])
8
- .y(d => d[1])
9
- .curve(d3CurveBasis)
10
- ;
11
-
12
- function calcArc(points: Point[], curveDepth: number): Point[] {
13
- if (points.length === 2 && curveDepth) {
14
- const dx = points[0][0] - points[1][0];
15
- const dy = points[0][1] - points[1][1];
16
- const dist = Math.sqrt(dx * dx + dy * dy);
17
- if (dist) {
18
- const midX = (points[0][0] + points[1][0]) / 2 - dy * curveDepth / 100;
19
- const midY = (points[0][1] + points[1][1]) / 2 + dx * curveDepth / 100;
20
- return [points[0], [midX, midY], points[1]];
21
- }
22
- }
23
- return points;
24
- }
25
-
26
- export interface Edge {
7
+ export interface EdgeProps<V extends VertexProps = VertexProps> {
8
+ id: string | number;
9
+ origData?: any;
10
+ source: V;
11
+ target: V;
12
+ label?: string;
13
+ labelPos?: Point;
14
+ weight?: number;
15
+ strokeDasharray?: string;
16
+ strokeWidth?: number;
17
+ stroke?: string;
18
+ fontFamily?: string;
19
+ labelFill?: string;
20
+ labelHeight?: number,
21
+ path?: string;
27
22
  points?: Array<[number, number]>;
28
23
  curveDepth?: number;
29
- stroke?: string;
30
- strokeDasharray?: string;
31
- weight?: number;
32
24
  }
33
25
 
34
- export const Edge: React.FunctionComponent<Edge> = ({
35
- points = [],
36
- curveDepth = 16,
37
- stroke = "black",
26
+ export const Edge: React.FunctionComponent<EdgeProps> = ({
27
+ label,
28
+ labelPos,
29
+ labelFill = "black",
30
+ labelHeight = 12,
31
+ path,
32
+ stroke,
33
+ strokeWidth,
38
34
  strokeDasharray
39
35
  }) => {
40
- const d = React.useMemo(() => {
41
- return line(calcArc(points, curveDepth));
42
- }, [curveDepth, points]);
43
- return <path stroke={stroke} stroke-dasharray={strokeDasharray} d={d}></path>;
36
+ return <>
37
+ <path d={path} stroke={stroke} style={{ strokeWidth, strokeDasharray }}></path>
38
+ {
39
+ label && labelPos && labelPos.length === 2 ?
40
+ <g transform={`translate(${labelPos[0]} ${labelPos[1]})`}>
41
+ <Text text={label} fill={labelFill} height={labelHeight} />
42
+ </g> : undefined
43
+ }
44
+ </>;
44
45
  };
package/src/vertex.tsx CHANGED
@@ -29,6 +29,7 @@ export const Annotations: React.FunctionComponent<Annotations> = ({
29
29
 
30
30
  export interface VertexProps {
31
31
  id: string | number;
32
+ origData?: any;
32
33
  centroid?: boolean;
33
34
  categoryID?: string;
34
35
  text: string;
package/src/vertex3.tsx CHANGED
@@ -4,7 +4,7 @@ import { Icon } from "./icon";
4
4
  import { TextBox } from "./text";
5
5
  import { VertexProps } from "./vertex";
6
6
 
7
- export interface IVertex3 extends VertexProps {
7
+ export interface Vertex3Props extends VertexProps {
8
8
  id: string;
9
9
  origData?: any;
10
10
  categoryID?: string;
@@ -29,7 +29,7 @@ export interface IVertex3 extends VertexProps {
29
29
  scale?: number;
30
30
  }
31
31
 
32
- export const Vertex3: React.FunctionComponent<IVertex3> = ({
32
+ export const Vertex3: React.FunctionComponent<Vertex3Props> = ({
33
33
  text = "",
34
34
  textHeight = 10,
35
35
  textPadding = 4,
@@ -174,7 +174,7 @@ export const Vertex3: React.FunctionComponent<IVertex3> = ({
174
174
  </g >;
175
175
  };
176
176
 
177
- export const CentroidVertex3: React.FunctionComponent<IVertex3> = function ({
177
+ export const CentroidVertex3: React.FunctionComponent<Vertex3Props> = function ({
178
178
  id,
179
179
  categoryID = "",
180
180
  text = "",
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/react";
2
- export declare const PKG_VERSION = "2.53.2";
3
- export declare const BUILD_VERSION = "2.104.13";
2
+ export declare const PKG_VERSION = "2.53.3";
3
+ export declare const BUILD_VERSION = "2.104.14";
4
4
  //# sourceMappingURL=__package__.d.ts.map
package/types/edge.d.ts CHANGED
@@ -1,10 +1,24 @@
1
1
  import * as React from "@hpcc-js/preact-shim";
2
- export interface Edge {
2
+ import { VertexProps } from "./vertex";
3
+ declare type Point = [number, number];
4
+ export interface EdgeProps<V extends VertexProps = VertexProps> {
5
+ id: string | number;
6
+ origData?: any;
7
+ source: V;
8
+ target: V;
9
+ label?: string;
10
+ labelPos?: Point;
11
+ weight?: number;
12
+ strokeDasharray?: string;
13
+ strokeWidth?: number;
14
+ stroke?: string;
15
+ fontFamily?: string;
16
+ labelFill?: string;
17
+ labelHeight?: number;
18
+ path?: string;
3
19
  points?: Array<[number, number]>;
4
20
  curveDepth?: number;
5
- stroke?: string;
6
- strokeDasharray?: string;
7
- weight?: number;
8
21
  }
9
- export declare const Edge: React.FunctionComponent<Edge>;
22
+ export declare const Edge: React.FunctionComponent<EdgeProps>;
23
+ export {};
10
24
  //# sourceMappingURL=edge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"edge.d.ts","sourceRoot":"","sources":["../src/edge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAyB9C,MAAM,WAAW,IAAI;IACjB,MAAM,CAAC,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAU9C,CAAC"}
1
+ {"version":3,"file":"edge.d.ts","sourceRoot":"","sources":["../src/edge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,aAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE9B,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW;IAC1D,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,MAAM,EAAE,CAAC,CAAC;IACV,MAAM,EAAE,CAAC,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAmBnD,CAAC"}
package/types/vertex.d.ts CHANGED
@@ -9,6 +9,7 @@ export interface Annotations {
9
9
  export declare const Annotations: React.FunctionComponent<Annotations>;
10
10
  export interface VertexProps {
11
11
  id: string | number;
12
+ origData?: any;
12
13
  centroid?: boolean;
13
14
  categoryID?: string;
14
15
  text: string;
@@ -1 +1 @@
1
- {"version":3,"file":"vertex.d.ts","sourceRoot":"","sources":["../src/vertex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,WAAW,WAAW;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAgB5D,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE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M,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACjE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAkEvD,CAAC"}
@@ -2,7 +2,7 @@ import * as React from "@hpcc-js/preact-shim";
2
2
  import { Icon } from "./icon";
3
3
  import { TextBox } from "./text";
4
4
  import { VertexProps } from "./vertex";
5
- export interface IVertex3 extends VertexProps {
5
+ export interface Vertex3Props extends VertexProps {
6
6
  id: string;
7
7
  origData?: any;
8
8
  categoryID?: string;
@@ -29,6 +29,6 @@ export interface IVertex3 extends VertexProps {
29
29
  expansionIcon?: Icon;
30
30
  scale?: number;
31
31
  }
32
- export declare const Vertex3: React.FunctionComponent<IVertex3>;
33
- export declare const CentroidVertex3: React.FunctionComponent<IVertex3>;
32
+ export declare const Vertex3: React.FunctionComponent<Vertex3Props>;
33
+ export declare const CentroidVertex3: React.FunctionComponent<Vertex3Props>;
34
34
  //# sourceMappingURL=vertex3.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vertex3.d.ts","sourceRoot":"","sources":["../src/vertex3.tsx"],"names":[],"mappings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E,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CA+IzD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CA6DjE,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/react";
2
- export declare const PKG_VERSION = "2.53.2";
3
- export declare const BUILD_VERSION = "2.104.13";
2
+ export declare const PKG_VERSION = "2.53.3";
3
+ export declare const BUILD_VERSION = "2.104.14";
4
4
  //# sourceMappingURL=__package__.d.ts.map
@@ -1,13 +1,30 @@
1
1
  import * as React from "@hpcc-js/preact-shim";
2
- export interface Edge {
2
+ import { VertexProps } from "./vertex";
3
+ declare type Point = [
4
+ number,
5
+ number
6
+ ];
7
+ export interface EdgeProps<V extends VertexProps = VertexProps> {
8
+ id: string | number;
9
+ origData?: any;
10
+ source: V;
11
+ target: V;
12
+ label?: string;
13
+ labelPos?: Point;
14
+ weight?: number;
15
+ strokeDasharray?: string;
16
+ strokeWidth?: number;
17
+ stroke?: string;
18
+ fontFamily?: string;
19
+ labelFill?: string;
20
+ labelHeight?: number;
21
+ path?: string;
3
22
  points?: Array<[
4
23
  number,
5
24
  number
6
25
  ]>;
7
26
  curveDepth?: number;
8
- stroke?: string;
9
- strokeDasharray?: string;
10
- weight?: number;
11
27
  }
12
- export declare const Edge: React.FunctionComponent<Edge>;
28
+ export declare const Edge: React.FunctionComponent<EdgeProps>;
29
+ export {};
13
30
  //# sourceMappingURL=edge.d.ts.map
@@ -9,6 +9,7 @@ export interface Annotations {
9
9
  export declare const Annotations: React.FunctionComponent<Annotations>;
10
10
  export interface VertexProps {
11
11
  id: string | number;
12
+ origData?: any;
12
13
  centroid?: boolean;
13
14
  categoryID?: string;
14
15
  text: string;
@@ -2,7 +2,7 @@ import * as React from "@hpcc-js/preact-shim";
2
2
  import { Icon } from "./icon";
3
3
  import { TextBox } from "./text";
4
4
  import { VertexProps } from "./vertex";
5
- export interface IVertex3 extends VertexProps {
5
+ export interface Vertex3Props extends VertexProps {
6
6
  id: string;
7
7
  origData?: any;
8
8
  categoryID?: string;
@@ -29,6 +29,6 @@ export interface IVertex3 extends VertexProps {
29
29
  expansionIcon?: Icon;
30
30
  scale?: number;
31
31
  }
32
- export declare const Vertex3: React.FunctionComponent<IVertex3>;
33
- export declare const CentroidVertex3: React.FunctionComponent<IVertex3>;
32
+ export declare const Vertex3: React.FunctionComponent<Vertex3Props>;
33
+ export declare const CentroidVertex3: React.FunctionComponent<Vertex3Props>;
34
34
  //# sourceMappingURL=vertex3.d.ts.map