@balkangraph/orgchart.js 8.12.4 → 8.12.5
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/orgchart.d.ts +9 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -662,6 +662,15 @@ declare class OrgChart extends OrgChartBase {
|
|
|
662
662
|
static isNEU(val: any): boolean;
|
|
663
663
|
static gradientCircleForDefs(id: string | number, colors: Array<string> | string, r: number, strokeWidth: number): string;
|
|
664
664
|
static convertCsvToNodes(text: string) : Array<Object>;
|
|
665
|
+
/**
|
|
666
|
+
* SVG Path rounding function. Takes an input path string or commands and outputs a path
|
|
667
|
+
* string where all line-line corners have been rounded.
|
|
668
|
+
* @param commands The SVG input path or commands array
|
|
669
|
+
* @param radius
|
|
670
|
+
* @param useFractionalRadius The amount to round the corners, either a value in the SVG coordinate space, or, if useFractionalRadius is true, a value from 0 to 1.
|
|
671
|
+
* @returns A new SVG path string with the rounding
|
|
672
|
+
*/
|
|
673
|
+
static roundPathCorners(commands: string | Array<Array<any>>, radius: number, useFractionalRadius: boolean) : string;
|
|
665
674
|
static convertNodesToCsv(nodes: Array<Object>) : string;
|
|
666
675
|
static wrapText(text: string, field: Object): string;
|
|
667
676
|
/**
|