Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring
TypeScript diagramhomelabhomelab-infrastructure-observabilitynetworkproxmox-veself-hostedzigbeezwavezwave-js
fix: add border_width, text_size, label_position to custom_colors type
Pouzor37cb97dca1c4
diff --git a/frontend/src/types/index.ts b/frontend/src/types/index.tsindex 1bd9915..59379a8 100644--- a/frontend/src/types/index.ts+++ b/frontend/src/types/index.ts@@ -72,6 +72,9 @@ export interface NodeData extends Record<string, unknown> {text_position?: TextPositionfont?: stringborder_style?: 'solid' | 'dashed' | 'dotted' | 'double' | 'none'+ border_width?: number+ label_position?: 'inside' | 'outside'+ text_size?: numberz_order?: numberwidth?: numberheight?: number@@ -88,7 +91,7 @@ export interface EdgeData extends Record<string, unknown> {speed?: stringcustom_color?: stringpath_style?: EdgePathStyle- animated?: boolean+ animated?: boolean | 'snake' | 'flow' | 'none'}export const NODE_TYPE_LABELS: Record<NodeType, string> = {