vue3-network-graph 0.2.2 → 0.2.4
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/README.en.md +741 -728
- package/README.md +742 -728
- package/dist/index.d.ts +12 -0
- package/dist/index.mjs +1269 -864
- package/dist/index.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -205,6 +205,18 @@ export interface TopologyConfig {
|
|
|
205
205
|
* image node = `nodeType` image/img/picture, or no `nodeType` + picture.
|
|
206
206
|
*/
|
|
207
207
|
imageNodeBySource?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Base icon space width (the former single BASE_ICON_SIZE, now split).
|
|
210
|
+
* Derived from it: the default size of nodes without an explicit
|
|
211
|
+
* width / height, the icon slot scaling (nodeScale), and the image
|
|
212
|
+
* node viewBox / picture fitting. Default 60.
|
|
213
|
+
*/
|
|
214
|
+
baseIconWidth?: number;
|
|
215
|
+
/**
|
|
216
|
+
* Base icon space height (the former single BASE_ICON_SIZE, now split).
|
|
217
|
+
* Same derivations as baseIconWidth, along the vertical axis. Default 60.
|
|
218
|
+
*/
|
|
219
|
+
baseIconHeight?: number;
|
|
208
220
|
/**
|
|
209
221
|
* Node / edge paint order.
|
|
210
222
|
* - "split" (default): every node is painted in two passes — background
|