eurostat-map 4.4.4 → 4.5.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.
Files changed (72) hide show
  1. package/README.md +177 -148
  2. package/build/215.eurostatmap.min.js +1 -1
  3. package/build/eurostatmap.js +19934 -15872
  4. package/build/eurostatmap.min.js +2 -2
  5. package/build/eurostatmap.min.js.map +1 -1
  6. package/build/package.json +87 -87
  7. package/build/types/core/GridCartogramSettings.d.ts +33 -0
  8. package/build/types/core/MapConfig.d.ts +13 -2
  9. package/build/types/core/MapInstance.d.ts +80 -4
  10. package/build/types/core/encoding/EncodingConfig.d.ts +31 -0
  11. package/build/types/core/layer/Layer.d.ts +31 -0
  12. package/build/types/core/layer/LayerConfig.d.ts +19 -0
  13. package/build/types/core/layer/LayerRole.d.ts +1 -0
  14. package/build/types/core/locations.d.ts +44 -16
  15. package/build/types/core/stat/StatConfig.d.ts +7 -0
  16. package/build/types/index.d.ts +39 -33
  17. package/build/types/layers/CategoricalMap.d.ts +21 -0
  18. package/build/types/layers/CategoricalMapConfig.d.ts +11 -0
  19. package/build/types/layers/MapType.d.ts +34 -0
  20. package/build/types/layers/choropleth/BivariateChoroplethConfig.d.ts +27 -0
  21. package/build/types/layers/choropleth/BivariateChoroplethMap.d.ts +39 -0
  22. package/build/types/layers/choropleth/ChoroplethConfig.d.ts +39 -0
  23. package/build/types/layers/choropleth/ChoroplethMap.d.ts +48 -0
  24. package/build/types/layers/choropleth/TrivariateChoroplethConfig.d.ts +41 -0
  25. package/build/types/layers/choropleth/TrivariateChoroplethMap.d.ts +18 -0
  26. package/build/types/layers/choropleth/ValueByAlphaConfig.d.ts +8 -0
  27. package/build/types/layers/choropleth/ValueByAlphaMap.d.ts +9 -0
  28. package/build/types/layers/composition/CompositionStatConfig.d.ts +59 -0
  29. package/build/types/layers/composition/bar/BarMap.d.ts +97 -0
  30. package/build/types/layers/composition/bar/BarMapConfig.d.ts +76 -0
  31. package/build/types/layers/composition/coxcomb/CoxcombMap.d.ts +75 -0
  32. package/build/types/layers/composition/coxcomb/CoxcombMapConfig.d.ts +47 -0
  33. package/build/types/layers/composition/coxcomb/CoxcombStatConfig.d.ts +13 -0
  34. package/build/types/layers/composition/pie/PieMap.d.ts +84 -0
  35. package/build/types/layers/composition/pie/PieMapConfig.d.ts +50 -0
  36. package/build/types/layers/composition/stripe/StripeMap.d.ts +80 -0
  37. package/build/types/layers/composition/stripe/StripeMapConfig.d.ts +45 -0
  38. package/build/types/layers/composition/waffle/WaffleMap.d.ts +124 -0
  39. package/build/types/layers/composition/waffle/WaffleMapConfig.d.ts +58 -0
  40. package/build/types/layers/flow/FlowMap.d.ts +218 -0
  41. package/build/types/layers/flow/FlowMapConfig.d.ts +220 -0
  42. package/build/types/layers/proportional-symbol/ProportionalSymbolConfig.d.ts +47 -0
  43. package/build/types/layers/proportional-symbol/ProportionalSymbolMap.d.ts +94 -0
  44. package/build/types/layers/proportional-symbol/mushroom/MushroomMap.d.ts +67 -0
  45. package/build/types/layers/proportional-symbol/mushroom/MushroomMapConfig.d.ts +39 -0
  46. package/build/types/layers/spark/SparkMap.d.ts +56 -0
  47. package/build/types/layers/spark/SparkMapConfig.d.ts +75 -0
  48. package/build/types/layers/spark/SparkStatConfig.d.ts +33 -0
  49. package/build/types/legend/LegendConfig.d.ts +3 -0
  50. package/build/types/legend/choropleth/BivariateLegendConfig.d.ts +79 -0
  51. package/build/types/map-types/choropleth/TrivariateChoroplethConfig.d.ts +25 -16
  52. package/build/types/map-types/choropleth/TrivariateChoroplethMap.d.ts +5 -2
  53. package/build/types/map-types/composition/CompositionStatConfig.d.ts +7 -0
  54. package/build/types/map-types/composition/bar/BarMap.d.ts +97 -79
  55. package/build/types/map-types/composition/bar/BarMapConfig.d.ts +76 -54
  56. package/build/types/map-types/composition/coxcomb/CoxcombMap.d.ts +29 -0
  57. package/build/types/map-types/composition/coxcomb/CoxcombMapConfig.d.ts +15 -0
  58. package/build/types/map-types/composition/pie/PieMap.d.ts +5 -5
  59. package/build/types/map-types/composition/pie/PieMapConfig.d.ts +2 -0
  60. package/build/types/map-types/composition/stripe/StripeMap.d.ts +19 -2
  61. package/build/types/map-types/composition/stripe/StripeMapConfig.d.ts +11 -0
  62. package/build/types/map-types/composition/waffle/WaffleMap.d.ts +46 -0
  63. package/build/types/map-types/composition/waffle/WaffleMapConfig.d.ts +24 -10
  64. package/build/types/map-types/flow/FlowMap.d.ts +121 -0
  65. package/build/types/map-types/flow/FlowMapConfig.d.ts +62 -0
  66. package/build/types/map-types/proportional-symbol/ProportionalSymbolConfig.d.ts +30 -0
  67. package/build/types/map-types/proportional-symbol/ProportionalSymbolMap.d.ts +4 -0
  68. package/build/types/map-types/proportional-symbol/mushroom/MushroomMap.d.ts +37 -0
  69. package/build/types/map-types/proportional-symbol/mushroom/MushroomMapConfig.d.ts +19 -0
  70. package/build/types/map-types/spark/SparkMap.d.ts +4 -0
  71. package/build/types/map-types/spark/SparkMapConfig.d.ts +32 -0
  72. package/package.json +6 -3
@@ -9,6 +9,23 @@ export interface CoxcombMap extends MapInstance {
9
9
  legend(): CoxcombLegendConfig | false
10
10
  legend(config: CoxcombLegendConfig | false): this
11
11
 
12
+ coxcombSettings(): {
13
+ minRadius: number
14
+ maxRadius: number
15
+ strokeFill: string
16
+ strokeWidth: number
17
+ rings: boolean
18
+ offsets: { x: number; y: number }
19
+ }
20
+ coxcombSettings(v: {
21
+ minRadius?: number
22
+ maxRadius?: number
23
+ strokeFill?: string
24
+ strokeWidth?: number
25
+ rings?: boolean
26
+ offsets?: { x: number; y: number }
27
+ }): this
28
+
12
29
  catColors(): any
13
30
  catColors(v: any): this
14
31
 
@@ -18,19 +35,29 @@ export interface CoxcombMap extends MapInstance {
18
35
  noDataFillStyle(): string
19
36
  noDataFillStyle(v: string): this
20
37
 
38
+ /** @deprecated Use coxcombSettings({ maxRadius }) */
21
39
  coxcombMaxRadius(): number
40
+ /** @deprecated Use coxcombSettings({ maxRadius }) */
22
41
  coxcombMaxRadius(v: number): this
23
42
 
43
+ /** @deprecated Use coxcombSettings({ minRadius }) */
24
44
  coxcombMinRadius(): number
45
+ /** @deprecated Use coxcombSettings({ minRadius }) */
25
46
  coxcombMinRadius(v: number): this
26
47
 
48
+ /** @deprecated Use coxcombSettings({ rings }) */
27
49
  coxcombRings(): boolean
50
+ /** @deprecated Use coxcombSettings({ rings }) */
28
51
  coxcombRings(v: boolean): this
29
52
 
53
+ /** @deprecated Use coxcombSettings({ strokeFill }) */
30
54
  coxcombStrokeFill(): string
55
+ /** @deprecated Use coxcombSettings({ strokeFill }) */
31
56
  coxcombStrokeFill(v: string): this
32
57
 
58
+ /** @deprecated Use coxcombSettings({ strokeWidth }) */
33
59
  coxcombStrokeWidth(): number
60
+ /** @deprecated Use coxcombSettings({ strokeWidth }) */
34
61
  coxcombStrokeWidth(v: number): this
35
62
 
36
63
  hoverColor(): string
@@ -39,7 +66,9 @@ export interface CoxcombMap extends MapInstance {
39
66
  classifierSize(): any
40
67
  classifierSize(v: any): this
41
68
 
69
+ /** @deprecated Use coxcombSettings({ offsets }) */
42
70
  coxcombOffsets(): { x: number; y: number }
71
+ /** @deprecated Use coxcombSettings({ offsets }) */
43
72
  coxcombOffsets(v: { x: number; y: number }): this
44
73
 
45
74
  statCoxcomb(config: CoxcombStatConfig): this
@@ -5,16 +5,31 @@ import type { CoxcombLegendConfig } from '../../../legend/composition/CoxcombLeg
5
5
  * Configuration for coxcomb (polar area) chart maps.
6
6
  */
7
7
  export interface CoxcombMapConfig extends MapConfig {
8
+ /** Grouped coxcomb settings. */
9
+ coxcombSettings?: {
10
+ minRadius?: number
11
+ maxRadius?: number
12
+ strokeFill?: string
13
+ strokeWidth?: number
14
+ rings?: boolean
15
+ offsets?: { x: number; y: number }
16
+ }
17
+ /** @deprecated Use coxcombSettings.minRadius */
8
18
  /** Coxcomb min radius. */
9
19
  coxcombMinRadius?: number
20
+ /** @deprecated Use coxcombSettings.maxRadius */
10
21
  /** Coxcomb max radius. */
11
22
  coxcombMaxRadius?: number
23
+ /** @deprecated Use coxcombSettings.strokeFill */
12
24
  /** Coxcomb stroke fill. */
13
25
  coxcombStrokeFill?: string
26
+ /** @deprecated Use coxcombSettings.strokeWidth */
14
27
  /** Coxcomb stroke width. */
15
28
  coxcombStrokeWidth?: number
29
+ /** @deprecated Use coxcombSettings.rings */
16
30
  /** Coxcomb rings. */
17
31
  coxcombRings?: boolean
32
+ /** @deprecated Use coxcombSettings.offsets */
18
33
  /** Coxcomb offsets. */
19
34
  coxcombOffsets?: { x: number; y: number }
20
35
  /** Hover color. */
@@ -21,13 +21,10 @@ export interface PieMap extends MapInstance {
21
21
  noDataFillStyle(): string
22
22
  noDataFillStyle(v: string): this
23
23
 
24
- pieSettings(): {
25
- innerRadius?: number
26
- }
27
- pieSettings(v: { innerRadius?: number }): this
28
-
29
24
  compositionSettings(): {
30
25
  type?: 'flag' | 'pie' | 'ring' | 'segment' | 'radar' | 'agepyramid' | 'halftone'
26
+ /** Radar wedge radius mode: share within symbol (default) or absolute values across map. */
27
+ radarValueMode?: 'share' | 'absolute'
31
28
  minSize?: number
32
29
  maxSize?: number
33
30
  strokeFill?: string
@@ -43,6 +40,8 @@ export interface PieMap extends MapInstance {
43
40
  }
44
41
  compositionSettings(v: {
45
42
  type?: 'flag' | 'pie' | 'ring' | 'segment' | 'radar' | 'agepyramid' | 'halftone'
43
+ /** Radar wedge radius mode: share within symbol (default) or absolute values across map. */
44
+ radarValueMode?: 'share' | 'absolute'
46
45
  minSize?: number
47
46
  maxSize?: number
48
47
  strokeFill?: string
@@ -67,6 +66,7 @@ export interface PieMap extends MapInstance {
67
66
  statCodes(v: string[] | undefined): this
68
67
 
69
68
  statPie(config: CompositionStatConfig): this
69
+ /** @deprecated Legacy positional signature. Prefer statPie({ categoryParameter, categoryCodes, ... }). */
70
70
  statPie(
71
71
  /** Config. */
72
72
  config: CompositionStatConfig,
@@ -12,6 +12,8 @@ export interface PieMapConfig extends MapConfig {
12
12
  /** Consolidated composition symbol settings. */
13
13
  compositionSettings?: {
14
14
  type?: 'flag' | 'pie' | 'ring' | 'segment' | 'radar' | 'agepyramid' | 'halftone'
15
+ /** Radar wedge radius mode: share within symbol (default) or absolute values across map. */
16
+ radarValueMode?: 'share' | 'absolute'
15
17
  minSize?: number
16
18
  maxSize?: number
17
19
  strokeFill?: string
@@ -9,10 +9,22 @@ export interface StripeMap extends MapInstance {
9
9
  legend(): StripeCompositionLegendConfig | false
10
10
  legend(config: StripeCompositionLegendConfig | false): this
11
11
 
12
+ stripeSettings(): {
13
+ width: number
14
+ orientation: number
15
+ otherColor: string
16
+ otherText: string
17
+ }
18
+ stripeSettings(v: { width?: number; orientation?: number; otherColor?: string; otherText?: string }): this
19
+
20
+ /** @deprecated Use stripeSettings({ width }) */
12
21
  stripeWidth(): number
22
+ /** @deprecated Use stripeSettings({ width }) */
13
23
  stripeWidth(v: number): this
14
24
 
25
+ /** @deprecated Use stripeSettings({ orientation }) */
15
26
  stripeOrientation(): number
27
+ /** @deprecated Use stripeSettings({ orientation }) */
16
28
  stripeOrientation(v: number): this
17
29
 
18
30
  catColors(): any
@@ -21,10 +33,14 @@ export interface StripeMap extends MapInstance {
21
33
  catLabels(): any
22
34
  catLabels(v: any): this
23
35
 
36
+ /** @deprecated Use stripeSettings({ otherColor }) */
24
37
  stripeOtherColor(): string
38
+ /** @deprecated Use stripeSettings({ otherColor }) */
25
39
  stripeOtherColor(v: string): this
26
40
 
41
+ /** @deprecated Use stripeSettings({ otherText }) */
27
42
  stripeOtherText(): string
43
+ /** @deprecated Use stripeSettings({ otherText }) */
28
44
  stripeOtherText(v: string): this
29
45
 
30
46
  showOnlyWhenComplete(): boolean
@@ -45,8 +61,9 @@ export interface StripeMap extends MapInstance {
45
61
  statCodes(): string[] | undefined
46
62
  statCodes(v: string[] | undefined): this
47
63
 
48
- statComp(config: CompositionStatConfig): this
49
- statComp(
64
+ statStripe(config: CompositionStatConfig): this
65
+ /** @deprecated Legacy positional signature. Prefer statStripe({ categoryParameter, categoryCodes, ... }). */
66
+ statStripe(
50
67
  /** Config. */
51
68
  config: CompositionStatConfig,
52
69
  /** Category parameter. */
@@ -5,16 +5,27 @@ import type { StripeCompositionLegendConfig } from '../../../legend/composition/
5
5
  * Configuration for stripe composition maps.
6
6
  */
7
7
  export interface StripeMapConfig extends MapConfig {
8
+ /** Grouped stripe settings. */
9
+ stripeSettings?: {
10
+ width?: number
11
+ orientation?: number
12
+ otherColor?: string
13
+ otherText?: string
14
+ }
15
+ /** @deprecated Use stripeSettings.width */
8
16
  /** Stripe width. */
9
17
  stripeWidth?: number
18
+ /** @deprecated Use stripeSettings.orientation */
10
19
  /** Stripe orientation. */
11
20
  stripeOrientation?: number
12
21
  /** Cat colors. */
13
22
  catColors?: Record<string, string>
14
23
  /** Cat labels. */
15
24
  catLabels?: Record<string, string>
25
+ /** @deprecated Use stripeSettings.otherColor */
16
26
  /** Stripe other color. */
17
27
  stripeOtherColor?: string
28
+ /** @deprecated Use stripeSettings.otherText */
18
29
  /** Stripe other text. */
19
30
  stripeOtherText?: string
20
31
  /** Show only when complete. */
@@ -21,34 +21,79 @@ export interface WaffleMap extends MapInstance {
21
21
  noDataFillStyle(): string
22
22
  noDataFillStyle(v: string): this
23
23
 
24
+ waffleSettings(): {
25
+ minSize?: number
26
+ maxSize?: number
27
+ gridSize?: number
28
+ cellPadding?: number
29
+ strokeFill?: string
30
+ strokeWidth?: number
31
+ roundedCorners?: number
32
+ tooltipSize?: number
33
+ otherColor?: string
34
+ otherText?: string
35
+ }
36
+ waffleSettings(v: {
37
+ minSize?: number
38
+ maxSize?: number
39
+ gridSize?: number
40
+ cellPadding?: number
41
+ strokeFill?: string
42
+ strokeWidth?: number
43
+ roundedCorners?: number
44
+ tooltipSize?: number
45
+ otherColor?: string
46
+ otherText?: string
47
+ }): this
48
+
49
+ /** @deprecated Use waffleSettings({ maxSize }) */
24
50
  waffleMaxSize(): number
51
+ /** @deprecated Use waffleSettings({ maxSize }) */
25
52
  waffleMaxSize(v: number): this
26
53
 
54
+ /** @deprecated Use waffleSettings({ minSize }) */
27
55
  waffleMinSize(): number
56
+ /** @deprecated Use waffleSettings({ minSize }) */
28
57
  waffleMinSize(v: number): this
29
58
 
59
+ /** @deprecated Use waffleSettings({ gridSize }) */
30
60
  waffleGridSize(): number
61
+ /** @deprecated Use waffleSettings({ gridSize }) */
31
62
  waffleGridSize(v: number): this
32
63
 
64
+ /** @deprecated Use waffleSettings({ cellPadding }) */
33
65
  waffleCellPadding(): number
66
+ /** @deprecated Use waffleSettings({ cellPadding }) */
34
67
  waffleCellPadding(v: number): this
35
68
 
69
+ /** @deprecated Use waffleSettings({ otherColor }) */
36
70
  waffleOtherColor(): string
71
+ /** @deprecated Use waffleSettings({ otherColor }) */
37
72
  waffleOtherColor(v: string): this
38
73
 
74
+ /** @deprecated Use waffleSettings({ otherText }) */
39
75
  waffleOtherText(): string
76
+ /** @deprecated Use waffleSettings({ otherText }) */
40
77
  waffleOtherText(v: string): this
41
78
 
79
+ /** @deprecated Use waffleSettings({ strokeFill }) */
42
80
  waffleStrokeFill(): string
81
+ /** @deprecated Use waffleSettings({ strokeFill }) */
43
82
  waffleStrokeFill(v: string): this
44
83
 
84
+ /** @deprecated Use waffleSettings({ strokeWidth }) */
45
85
  waffleStrokeWidth(): number
86
+ /** @deprecated Use waffleSettings({ strokeWidth }) */
46
87
  waffleStrokeWidth(v: number): this
47
88
 
89
+ /** @deprecated Use waffleSettings({ roundedCorners }) */
48
90
  waffleRoundedCorners(): number
91
+ /** @deprecated Use waffleSettings({ roundedCorners }) */
49
92
  waffleRoundedCorners(v: number): this
50
93
 
94
+ /** @deprecated Use waffleSettings({ tooltipSize }) */
51
95
  waffleTooltipSize(): number
96
+ /** @deprecated Use waffleSettings({ tooltipSize }) */
52
97
  waffleTooltipSize(v: number): this
53
98
 
54
99
  dorling(): boolean
@@ -61,6 +106,7 @@ export interface WaffleMap extends MapInstance {
61
106
  statCodes(v: string[] | undefined): this
62
107
 
63
108
  statWaffle(config: CompositionStatConfig): this
109
+ /** @deprecated Legacy positional signature. Prefer statWaffle({ categoryParameter, categoryCodes, ... }). */
64
110
  statWaffle(
65
111
  /** Config. */
66
112
  config: CompositionStatConfig,
@@ -5,29 +5,43 @@ import type { WaffleLegendConfig } from '../../../legend/composition/WaffleLegen
5
5
  * Configuration for waffle chart composition maps.
6
6
  */
7
7
  export interface WaffleMapConfig extends MapConfig {
8
- /** Waffle min size. */
8
+ /** Consolidated waffle chart settings. */
9
+ waffleSettings?: {
10
+ minSize?: number
11
+ maxSize?: number
12
+ gridSize?: number
13
+ cellPadding?: number
14
+ strokeFill?: string
15
+ strokeWidth?: number
16
+ roundedCorners?: number
17
+ tooltipSize?: number
18
+ otherColor?: string
19
+ otherText?: string
20
+ }
21
+
22
+ /** @deprecated Use waffleSettings.minSize */
9
23
  waffleMinSize?: number
10
- /** Waffle max size. */
24
+ /** @deprecated Use waffleSettings.maxSize */
11
25
  waffleMaxSize?: number
12
- /** Waffle grid size. */
26
+ /** @deprecated Use waffleSettings.gridSize */
13
27
  waffleGridSize?: number
14
- /** Waffle cell padding. */
28
+ /** @deprecated Use waffleSettings.cellPadding */
15
29
  waffleCellPadding?: number
16
- /** Waffle stroke fill. */
30
+ /** @deprecated Use waffleSettings.strokeFill */
17
31
  waffleStrokeFill?: string
18
- /** Waffle stroke width. */
32
+ /** @deprecated Use waffleSettings.strokeWidth */
19
33
  waffleStrokeWidth?: number
20
- /** Waffle rounded corners. */
34
+ /** @deprecated Use waffleSettings.roundedCorners */
21
35
  waffleRoundedCorners?: number
22
- /** Waffle tooltip size. */
36
+ /** @deprecated Use waffleSettings.tooltipSize */
23
37
  waffleTooltipSize?: number
24
38
  /** Cat colors. */
25
39
  catColors?: Record<string, string>
26
40
  /** Cat labels. */
27
41
  catLabels?: Record<string, string>
28
- /** Waffle other color. */
42
+ /** @deprecated Use waffleSettings.otherColor */
29
43
  waffleOtherColor?: string
30
- /** Waffle other text. */
44
+ /** @deprecated Use waffleSettings.otherText */
31
45
  waffleOtherText?: string
32
46
  /** Show only when complete. */
33
47
  showOnlyWhenComplete?: boolean
@@ -8,90 +8,211 @@ export interface FlowMap extends MapInstance {
8
8
  flowGraph(): FlowGraph
9
9
  flowGraph(v: FlowGraph): this
10
10
 
11
+ flowSettings(): {
12
+ color: string
13
+ regionColors: string[]
14
+ regionLabels: string[]
15
+ arrows: boolean
16
+ arrowScale: number
17
+ maxWidth: number
18
+ minWidth: number
19
+ outlines: boolean
20
+ outlineWidth: number
21
+ outlineColor: string
22
+ colorGradient: boolean
23
+ stack: boolean
24
+ nodes: boolean
25
+ nodeType: 'circle' | 'donut'
26
+ labelOffsets: { x: number; y: number }
27
+ lineType: 'curved' | 'straight' | 'sankey'
28
+ nodeSizeScale: any
29
+ opacity: number
30
+ internal: boolean
31
+ topLocations: number
32
+ topLocationsType: 'sum' | 'origin' | 'destination'
33
+ curvatureSettings: FlowCurvatureSettings
34
+ order: any
35
+ widthGradient: boolean
36
+ opacityGradient: boolean
37
+ widthGradientSettings: FlowWidthGradientSettings
38
+ bidirectional: boolean
39
+ edgeBundling: boolean
40
+ bundleSettings: FlowBundleSettings
41
+ }
42
+ flowSettings(v: {
43
+ color?: string
44
+ regionColors?: string[]
45
+ regionLabels?: string[]
46
+ arrows?: boolean
47
+ arrowScale?: number
48
+ maxWidth?: number
49
+ minWidth?: number
50
+ outlines?: boolean
51
+ outlineWidth?: number
52
+ outlineColor?: string
53
+ colorGradient?: boolean
54
+ stack?: boolean
55
+ nodes?: boolean
56
+ nodeType?: 'circle' | 'donut'
57
+ labelOffsets?: { x: number; y: number }
58
+ lineType?: 'curved' | 'straight' | 'sankey'
59
+ nodeSizeScale?: any
60
+ opacity?: number
61
+ internal?: boolean
62
+ topLocations?: number
63
+ topLocationsType?: 'sum' | 'origin' | 'destination'
64
+ curvatureSettings?: FlowCurvatureSettings
65
+ order?: any
66
+ widthGradient?: boolean
67
+ opacityGradient?: boolean
68
+ widthGradientSettings?: FlowWidthGradientSettings
69
+ bidirectional?: boolean
70
+ edgeBundling?: boolean
71
+ bundleSettings?: FlowBundleSettings
72
+ }): this
73
+
74
+ /** @deprecated Use flowSettings({ color }) */
11
75
  flowColor(): string
76
+ /** @deprecated Use flowSettings({ color }) */
12
77
  flowColor(v: string): this
13
78
 
79
+ /** @deprecated Use flowSettings({ regionColors }) */
14
80
  flowRegionColors(): string[]
81
+ /** @deprecated Use flowSettings({ regionColors }) */
15
82
  flowRegionColors(v: string[]): this
16
83
 
84
+ /** @deprecated Use flowSettings({ regionLabels }) */
17
85
  flowRegionLabels(): string[]
86
+ /** @deprecated Use flowSettings({ regionLabels }) */
18
87
  flowRegionLabels(v: string[]): this
19
88
 
89
+ /** @deprecated Use flowSettings({ arrows }) */
20
90
  flowArrows(): boolean
91
+ /** @deprecated Use flowSettings({ arrows }) */
21
92
  flowArrows(v: boolean): this
22
93
 
94
+ /** @deprecated Use flowSettings({ arrowScale }) */
23
95
  flowArrowScale(): number
96
+ /** @deprecated Use flowSettings({ arrowScale }) */
24
97
  flowArrowScale(v: number): this
25
98
 
99
+ /** @deprecated Use flowSettings({ maxWidth }) */
26
100
  flowMaxWidth(): number
101
+ /** @deprecated Use flowSettings({ maxWidth }) */
27
102
  flowMaxWidth(v: number): this
28
103
 
104
+ /** @deprecated Use flowSettings({ minWidth }) */
29
105
  flowMinWidth(): number
106
+ /** @deprecated Use flowSettings({ minWidth }) */
30
107
  flowMinWidth(v: number): this
31
108
 
109
+ /** @deprecated Use flowSettings({ outlines }) */
32
110
  flowOutlines(): boolean
111
+ /** @deprecated Use flowSettings({ outlines }) */
33
112
  flowOutlines(v: boolean): this
34
113
 
114
+ /** @deprecated Use flowSettings({ outlineWidth }) */
35
115
  flowOutlineWidth(): number
116
+ /** @deprecated Use flowSettings({ outlineWidth }) */
36
117
  flowOutlineWidth(v: number): this
37
118
 
119
+ /** @deprecated Use flowSettings({ outlineColor }) */
38
120
  flowOutlineColor(): string
121
+ /** @deprecated Use flowSettings({ outlineColor }) */
39
122
  flowOutlineColor(v: string): this
40
123
 
124
+ /** @deprecated Use flowSettings({ colorGradient }) */
41
125
  flowColorGradient(): boolean
126
+ /** @deprecated Use flowSettings({ colorGradient }) */
42
127
  flowColorGradient(v: boolean): this
43
128
 
129
+ /** @deprecated Use flowSettings({ stack }) */
44
130
  flowStack(): boolean
131
+ /** @deprecated Use flowSettings({ stack }) */
45
132
  flowStack(v: boolean): this
46
133
 
134
+ /** @deprecated Use flowSettings({ nodes }) */
47
135
  flowNodes(): boolean
136
+ /** @deprecated Use flowSettings({ nodes }) */
48
137
  flowNodes(v: boolean): this
49
138
 
139
+ /** @deprecated Use flowSettings({ nodeType }) */
50
140
  flowNodeType(): 'circle' | 'donut'
141
+ /** @deprecated Use flowSettings({ nodeType }) */
51
142
  flowNodeType(v: 'circle' | 'donut'): this
52
143
 
144
+ /** @deprecated Use flowSettings({ labelOffsets }) */
53
145
  flowLabelOffsets(): { x: number; y: number }
146
+ /** @deprecated Use flowSettings({ labelOffsets }) */
54
147
  flowLabelOffsets(v: { x: number; y: number }): this
55
148
 
149
+ /** @deprecated Use flowSettings({ lineType }) */
56
150
  flowLineType(): 'curved' | 'straight' | 'sankey'
151
+ /** @deprecated Use flowSettings({ lineType }) */
57
152
  flowLineType(v: 'curved' | 'straight' | 'sankey'): this
58
153
 
154
+ /** @deprecated Use flowSettings({ nodeSizeScale }) */
59
155
  flowNodeSizeScale(): any
156
+ /** @deprecated Use flowSettings({ nodeSizeScale }) */
60
157
  flowNodeSizeScale(v: any): this
61
158
 
159
+ /** @deprecated Use flowSettings({ opacity }) */
62
160
  flowOpacity(): number
161
+ /** @deprecated Use flowSettings({ opacity }) */
63
162
  flowOpacity(v: number): this
64
163
 
164
+ /** @deprecated Use flowSettings({ internal }) */
65
165
  flowInternal(): boolean
166
+ /** @deprecated Use flowSettings({ internal }) */
66
167
  flowInternal(v: boolean): this
67
168
 
169
+ /** @deprecated Use flowSettings({ topLocations }) */
68
170
  flowTopLocations(): number
171
+ /** @deprecated Use flowSettings({ topLocations }) */
69
172
  flowTopLocations(v: number): this
70
173
 
174
+ /** @deprecated Use flowSettings({ topLocationsType }) */
71
175
  flowTopLocationsType(): 'sum' | 'origin' | 'destination'
176
+ /** @deprecated Use flowSettings({ topLocationsType }) */
72
177
  flowTopLocationsType(v: 'sum' | 'origin' | 'destination'): this
73
178
 
179
+ /** @deprecated Use flowSettings({ curvatureSettings }) */
74
180
  flowCurvatureSettings(): FlowCurvatureSettings
181
+ /** @deprecated Use flowSettings({ curvatureSettings }) */
75
182
  flowCurvatureSettings(v: FlowCurvatureSettings): this
76
183
 
184
+ /** @deprecated Use flowSettings({ order }) */
77
185
  flowOrder(): any
186
+ /** @deprecated Use flowSettings({ order }) */
78
187
  flowOrder(v: any): this
79
188
 
189
+ /** @deprecated Use flowSettings({ widthGradient }) */
80
190
  flowWidthGradient(): boolean
191
+ /** @deprecated Use flowSettings({ widthGradient }) */
81
192
  flowWidthGradient(v: boolean): this
82
193
 
194
+ /** @deprecated Use flowSettings({ opacityGradient }) */
83
195
  flowOpacityGradient(): boolean
196
+ /** @deprecated Use flowSettings({ opacityGradient }) */
84
197
  flowOpacityGradient(v: boolean): this
85
198
 
199
+ /** @deprecated Use flowSettings({ widthGradientSettings }) */
86
200
  flowWidthGradientSettings(): FlowWidthGradientSettings
201
+ /** @deprecated Use flowSettings({ widthGradientSettings }) */
87
202
  flowWidthGradientSettings(v: FlowWidthGradientSettings): this
88
203
 
204
+ /** @deprecated Use flowSettings({ bidirectional }) */
89
205
  flowBidirectional(): boolean
206
+ /** @deprecated Use flowSettings({ bidirectional }) */
90
207
  flowBidirectional(v: boolean): this
91
208
 
209
+ /** @deprecated Use flowSettings({ edgeBundling }) */
92
210
  flowEdgeBundling(): boolean
211
+ /** @deprecated Use flowSettings({ edgeBundling }) */
93
212
  flowEdgeBundling(v: boolean): this
94
213
 
214
+ /** @deprecated Use flowSettings({ bundleSettings }) */
95
215
  flowBundleSettings(): FlowBundleSettings
216
+ /** @deprecated Use flowSettings({ bundleSettings }) */
96
217
  flowBundleSettings(v: FlowBundleSettings): this
97
218
  }