@opendata-ai/openchart-core 6.1.5 → 6.2.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 +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/types/spec.ts +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -363,12 +363,14 @@ interface Encoding {
|
|
|
363
363
|
/** Radial position for arc marks. */
|
|
364
364
|
radius?: EncodingChannel;
|
|
365
365
|
}
|
|
366
|
-
/** Encoding channel for graph nodes and edges.
|
|
366
|
+
/** Encoding channel for graph nodes and edges. */
|
|
367
367
|
interface GraphEncodingChannel {
|
|
368
368
|
/** Data field name on the node/edge object. */
|
|
369
369
|
field: string;
|
|
370
370
|
/** How to interpret the field values. */
|
|
371
371
|
type?: FieldType;
|
|
372
|
+
/** Scale configuration. Auto-derived from data if omitted. */
|
|
373
|
+
scale?: ScaleConfig;
|
|
372
374
|
}
|
|
373
375
|
/** Graph-specific encoding mapping visual properties to node/edge data fields. */
|
|
374
376
|
interface GraphEncoding {
|