quixotic-gol 0.1.7 → 0.1.9

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 CHANGED
@@ -219,9 +219,13 @@ export declare interface NodeContent {
219
219
  /** Tags associated with the node */
220
220
  tags: string[];
221
221
  /** Display label for the node */
222
- label: TextElem;
222
+ label?: string;
223
223
  /** Text content of the node */
224
- text: TextElem;
224
+ text: string;
225
+ /** Optional text color */
226
+ color?: string;
227
+ /** Optional background color for the node */
228
+ background?: string;
225
229
  }
226
230
 
227
231
  export declare interface NodeMapping {
@@ -255,13 +259,15 @@ export declare function renderCustomGraph(container: HTMLDivElement, json: Graph
255
259
  export declare function setupZoomPan(container: HTMLDivElement): void;
256
260
 
257
261
  /**
258
- * Text element with optional color
262
+ * Text element with optional color and background
259
263
  */
260
264
  export declare interface TextElem {
261
265
  /** Text content */
262
266
  text: string;
263
267
  /** Optional color for the text */
264
268
  color?: string;
269
+ /** Optional background color */
270
+ background?: string;
265
271
  }
266
272
 
267
273
  export declare function useGraphvizWorker(): UseGraphvizWorkerResult;