Skip to content

Commit 8fc9ab6

Browse files
authored
Merge pull request #75 from sgratzl/release/v4.2.2
Release v4.2.2
2 parents c5f8efd + bac37bf commit 8fc9ab6

File tree

6 files changed

+4
-13
lines changed

6 files changed

+4
-13
lines changed

docs/examples/tree.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export const data: ChartConfiguration<'tree'>['data'] = {
1212
pointBackgroundColor: 'steelblue',
1313
pointRadius: 5,
1414
data: nodes.map((d) => Object.assign({}, d)),
15+
edgeLineBorderWidth: (ctx) => {
16+
return ctx.dataIndex;
17+
},
1518
},
1619
],
1720
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "chartjs-chart-graph",
33
"description": "Chart.js module for charting graphs",
4-
"version": "4.2.1",
4+
"version": "4.2.2",
55
"author": {
66
"name": "Samuel Gratzl",
77
"email": "sam@sgratzl.com",

src/controllers/DendrogramController.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ export class DendrogramController extends GraphController {
128128
requestAnimationFrame(() => this.chart.update());
129129
}
130130

131-
/**
132-
* @internal
133-
*/
134131
static readonly id: string = 'dendrogram';
135132

136133
/**

src/controllers/ForceDirectedGraphController.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,6 @@ export class ForceDirectedGraphController extends GraphController {
341341
this._simulation.stop();
342342
}
343343

344-
/**
345-
* @internal
346-
*/
347344
static readonly id = 'forceDirectedGraph';
348345

349346
/**

src/controllers/TreeController.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ import type { IGraphDataPoint, ITreeNode } from './GraphController';
1414
import patchController from './patchController';
1515

1616
export class TreeController extends DendrogramController {
17-
/**
18-
* @internal
19-
*/
2017
static readonly id = 'tree';
2118

2219
/**

src/elements/EdgeLine.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ export class EdgeLine extends LineElement {
204204
// ctx.restore();
205205
}
206206

207-
/**
208-
* @internal
209-
*/
210207
static readonly id = 'edgeLine';
211208

212209
/**

0 commit comments

Comments
 (0)