@cosmos.gl/graph 2.6.2-rc.0 → 2.6.2
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 +9 -0
- package/dist/index.js +904 -900
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -58,6 +58,8 @@ export interface GraphConfigInterface {
|
|
|
58
58
|
* if the size value in the array is `undefined` or `null`.
|
|
59
59
|
* Default value: `4`
|
|
60
60
|
*/
|
|
61
|
+
pointDefaultSize?: number;
|
|
62
|
+
/** @deprecated Use `pointDefaultSize` instead */
|
|
61
63
|
pointSize?: number;
|
|
62
64
|
/**
|
|
63
65
|
* Universal opacity value applied to all points.
|
|
@@ -135,6 +137,8 @@ export interface GraphConfigInterface {
|
|
|
135
137
|
* The default width value to use for links when no link widths are provided or if the width value in the array is `undefined` or `null`.
|
|
136
138
|
* Default value: `1`
|
|
137
139
|
*/
|
|
140
|
+
linkDefaultWidth?: number;
|
|
141
|
+
/** @deprecated Use `linkDefaultWidth` instead */
|
|
138
142
|
linkWidth?: number;
|
|
139
143
|
/**
|
|
140
144
|
* The color to use for links when they are hovered.
|
|
@@ -185,6 +189,8 @@ export interface GraphConfigInterface {
|
|
|
185
189
|
* The default link arrow value that controls whether or not to display link arrows.
|
|
186
190
|
* Default value: `false`
|
|
187
191
|
*/
|
|
192
|
+
linkDefaultArrows?: boolean;
|
|
193
|
+
/** @deprecated Use `linkDefaultArrows` instead */
|
|
188
194
|
linkArrows?: boolean;
|
|
189
195
|
/**
|
|
190
196
|
* Scale factor for the link arrows size.
|
|
@@ -553,6 +559,7 @@ export declare class GraphConfig implements GraphConfigInterface {
|
|
|
553
559
|
pointGreyoutOpacity: undefined;
|
|
554
560
|
pointGreyoutColor: undefined;
|
|
555
561
|
pointSize: number;
|
|
562
|
+
pointDefaultSize: undefined;
|
|
556
563
|
pointOpacity: number;
|
|
557
564
|
pointSizeScale: number;
|
|
558
565
|
hoveredPointCursor: string;
|
|
@@ -566,6 +573,7 @@ export declare class GraphConfig implements GraphConfigInterface {
|
|
|
566
573
|
linkOpacity: number;
|
|
567
574
|
linkGreyoutOpacity: number;
|
|
568
575
|
linkWidth: number;
|
|
576
|
+
linkDefaultWidth: undefined;
|
|
569
577
|
linkWidthScale: number;
|
|
570
578
|
hoveredLinkColor: undefined;
|
|
571
579
|
hoveredLinkWidthIncrease: number;
|
|
@@ -575,6 +583,7 @@ export declare class GraphConfig implements GraphConfigInterface {
|
|
|
575
583
|
curvedLinkWeight: number;
|
|
576
584
|
curvedLinkControlPointDistance: number;
|
|
577
585
|
linkArrows: boolean;
|
|
586
|
+
linkDefaultArrows: undefined;
|
|
578
587
|
linkArrowsSizeScale: number;
|
|
579
588
|
scaleLinksOnZoom: boolean;
|
|
580
589
|
linkVisibilityDistanceRange: number[];
|