[gd_scene load_steps=3 format=3 uid="uid://dkeet_graph_panel"]
[ext_resource type="Script" path="res://scripts/graph_panel.gd" id="1_script"]
[ext_resource type="Script" path="res://scripts/graph_canvas.gd" id="2_canvas"]
[node name="GraphPanel" type="PanelContainer"]
custom_minimum_size = Vector2(160, 0)
script = ExtResource("1_script")
[node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="Header" type="HBoxContainer" parent="VBox"]
layout_mode = 2
[node name="Title" type="Label" parent="VBox/Header"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "Graph"
horizontal_alignment = 1
[node name="AlgoBtn" type="OptionButton" parent="VBox/Header"]
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Clustering algorithm"
[node name="SyncBtn" type="Button" parent="VBox/Header"]
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Sync MetadataBase with another device"
text = "Sync"
[node name="RefreshBtn" type="Button" parent="VBox/Header"]
unique_name_in_owner = true
layout_mode = 2
text = "Refresh"
[node name="SyncDialog" type="Window" parent="."]
unique_name_in_owner = true
title = "MetadataBase Sync"
initial_position = 2
size = Vector2i(480, 220)
visible = false
wrap_controls = true
transient = false
exclusive = false
[node name="Margin" type="MarginContainer" parent="SyncDialog"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 12.0
offset_top = 12.0
offset_right = -12.0
offset_bottom = -12.0
[node name="VBox" type="VBoxContainer" parent="SyncDialog/Margin"]
layout_mode = 2
theme_override_constants/separation = 8
[node name="KeyLabel" type="Label" parent="SyncDialog/Margin/VBox"]
layout_mode = 2
text = "Your MetadataBase key:"
[node name="KeyRow" type="HBoxContainer" parent="SyncDialog/Margin/VBox"]
layout_mode = 2
[node name="KeyField" type="LineEdit" parent="SyncDialog/Margin/VBox/KeyRow"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
editable = false
placeholder_text = "Loading..."
[node name="CopyBtn" type="Button" parent="SyncDialog/Margin/VBox/KeyRow"]
unique_name_in_owner = true
layout_mode = 2
text = "Copy"
[node name="Sep" type="HSeparator" parent="SyncDialog/Margin/VBox"]
layout_mode = 2
[node name="JoinLabel" type="Label" parent="SyncDialog/Margin/VBox"]
layout_mode = 2
text = "Join remote MetadataBase:"
[node name="JoinRow" type="HBoxContainer" parent="SyncDialog/Margin/VBox"]
layout_mode = 2
[node name="JoinField" type="LineEdit" parent="SyncDialog/Margin/VBox/JoinRow"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Paste key from other device..."
[node name="JoinBtn" type="Button" parent="SyncDialog/Margin/VBox/JoinRow"]
unique_name_in_owner = true
layout_mode = 2
text = "Join"
[node name="StatusLabel" type="Label" parent="SyncDialog/Margin/VBox"]
unique_name_in_owner = true
layout_mode = 2
text = ""
horizontal_alignment = 1
[node name="GraphCanvas" type="Control" parent="VBox"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
script = ExtResource("2_canvas")