quixotic-gol 0.1.11 → 0.1.13
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 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +1094 -1076
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -150,6 +150,10 @@ export declare interface GraphvizRendererProps {
|
|
|
150
150
|
nodeHeight?: number;
|
|
151
151
|
/** Custom spacing between node columns in points */
|
|
152
152
|
nodeColumnSpacing?: number;
|
|
153
|
+
/** Forward click events to elements beneath the SVG (while preserving zoom/pan) */
|
|
154
|
+
clickPassthrough?: boolean;
|
|
155
|
+
/** Enable zoom via mouse wheel (default: true) */
|
|
156
|
+
enableWheelZoom?: boolean;
|
|
153
157
|
}
|
|
154
158
|
|
|
155
159
|
/**
|
|
@@ -219,6 +223,8 @@ export declare interface LayoutConfig {
|
|
|
219
223
|
* Content structure for graph nodes
|
|
220
224
|
*/
|
|
221
225
|
export declare interface NodeContent {
|
|
226
|
+
/** Unique key for the node */
|
|
227
|
+
key?: string;
|
|
222
228
|
/** Tags associated with the node */
|
|
223
229
|
tags: string[];
|
|
224
230
|
/** Display label for the node */
|
|
@@ -248,7 +254,7 @@ declare interface NodeMapping_2 {
|
|
|
248
254
|
* @param config - Layout configuration
|
|
249
255
|
* @returns Object containing zoom behavior and SVG references for imperative control
|
|
250
256
|
*/
|
|
251
|
-
export declare function renderCustomGraph(container: HTMLDivElement, json: GraphvizJson, _nodeMapping?: Record<string, NodeMapping_2>, maxDepth?: number | null, includeLesserDepths?: boolean, config?: LayoutConfig, useOrthogonalRendering?: boolean, svgFontSize?: number, debug?: boolean, selectedEdgeId?: number | null, onEdgeSelect?: (edgeIndex: number | null) => void, nodeWidth?: number, nodeHeight?: number, nodeColumnSpacing?: number): {
|
|
257
|
+
export declare function renderCustomGraph(container: HTMLDivElement, json: GraphvizJson, _nodeMapping?: Record<string, NodeMapping_2>, maxDepth?: number | null, includeLesserDepths?: boolean, config?: LayoutConfig, useOrthogonalRendering?: boolean, svgFontSize?: number, debug?: boolean, selectedEdgeId?: number | null, onEdgeSelect?: (edgeIndex: number | null) => void, nodeWidth?: number, nodeHeight?: number, nodeColumnSpacing?: number, enableWheelZoom?: boolean): {
|
|
252
258
|
zoomBehavior: any;
|
|
253
259
|
svgElement: SVGSVGElement;
|
|
254
260
|
gElement: SVGGElement;
|