@opendata-ai/openchart-core 6.8.0 → 6.9.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.
- package/dist/index.d.ts +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/types/spec.ts +7 -0
package/package.json
CHANGED
package/src/types/spec.ts
CHANGED
|
@@ -928,6 +928,13 @@ export interface SankeySpec {
|
|
|
928
928
|
linkStyle?: SankeyLinkColor;
|
|
929
929
|
/** Link fill opacity (0-1). Defaults to 0.5 in light mode, 0.75 in dark mode. */
|
|
930
930
|
linkOpacity?: number;
|
|
931
|
+
/**
|
|
932
|
+
* Which side of each node to place labels. 'auto' uses the default heuristic
|
|
933
|
+
* (left-column right, right-column left, middle right). 'right' forces all
|
|
934
|
+
* labels to the right of their nodes. 'left' forces all labels to the left.
|
|
935
|
+
* Defaults to 'auto'.
|
|
936
|
+
*/
|
|
937
|
+
nodeLabelAlign?: 'auto' | 'left' | 'right';
|
|
931
938
|
/** Editorial chrome (title, subtitle, source, byline, footer). */
|
|
932
939
|
chrome?: Chrome;
|
|
933
940
|
/** Legend display configuration. */
|