{"openapi":"3.1.0","info":{"title":"Union-Find Visualizer","description":"Step through Union-Find (Disjoint Set Union) operations on a forest of nodes, watching path compression and union by rank reshape the trees in real time.","version":"1.0"},"servers":[{"url":"https://dabbled.ai"}],"paths":{"/apps/union-find-visualizer":{"get":{"operationId":"unionFindVisualizer","summary":"Step through Union-Find (Disjoint Set Union) operations on a forest of nodes, watching path compression and union by rank reshape the trees in real time.","parameters":[{"name":"num_elements","in":"query","required":false,"description":"Number of elements (2-200)","schema":{"type":"number"}},{"name":"node_a","in":"query","required":false,"description":"First element index","schema":{"type":"number"}},{"name":"node_b","in":"query","required":false,"description":"Second element index","schema":{"type":"number"}},{"name":"path_compression","in":"query","required":false,"description":"Enable path compression","schema":{"type":"boolean"}},{"name":"union_by_rank","in":"query","required":false,"description":"Enable union by rank","schema":{"type":"boolean"}},{"name":"speed","in":"query","required":false,"description":"Animation speed in ms per step","schema":{"type":"number"}}],"responses":{"200":{"description":"Rendered app reflecting the given inputs."}}}}}}