OverviewFilesCommitsIssuesDocsReleasesPeers

godot-keet commits / 822a984

Add creator/activity/size presets + stacked combos to algo selector
9 presets: 6 single-feature slices + 3 stacked combos. Stacked combos divide the pie further — e.g. creator+category groups by who made the rooms, then sub-divides by topic area. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
822a9848bb15dbec4f11fc8f6474a0dcffb2a351
by plankatron <fleeky@gmail.com> · 2026-02-23T03:04:54.000Z

Changed files (1) +11 -4

scripts/graph_panel.gd +11 -4
……@@ -9,10 +9,17 @@ extends PanelContainer
99@onready var graph_canvas: Control = %GraphCanvas
1010
1111const ALGO_PRESETS: Array[Dictionary] = [
12 {"name": "members-only", "features": [{"type": "members", "weight": 1.0}], "threshold": 0.5, "minSize": 2},
13 {"name": "topics-only", "features": [{"type": "topics", "weight": 1.0}], "threshold": 0.3, "minSize": 2},
14 {"name": "category-only", "features": [{"type": "category", "weight": 1.0}], "threshold": 0.1, "minSize": 2},
15 {"name": "combined", "features": [{"type": "members", "weight": 1.0}, {"type": "topics", "weight": 0.5}], "threshold": 0.4, "minSize": 2},
12 # Simple slices
13 {"name": "category", "features": [{"type": "category", "weight": 1.0}], "threshold": 0.1, "minSize": 2},
14 {"name": "creator", "features": [{"type": "creator", "weight": 1.0}], "threshold": 0.1, "minSize": 2},
15 {"name": "activity", "features": [{"type": "activity", "weight": 1.0}], "threshold": 0.1, "minSize": 2},
16 {"name": "size", "features": [{"type": "size", "weight": 1.0}], "threshold": 0.1, "minSize": 2},
17 {"name": "topics", "features": [{"type": "topics", "weight": 1.0}], "threshold": 0.3, "minSize": 2},
18 {"name": "members", "features": [{"type": "members", "weight": 1.0}], "threshold": 0.5, "minSize": 2},
19 # Stacked combos (pie → sub-slice)
20 {"name": "creator+category", "features": [{"type": "creator", "weight": 1.0}, {"type": "category", "weight": 0.8}], "threshold": 0.3, "minSize": 2},
21 {"name": "activity+topics", "features": [{"type": "activity", "weight": 1.0}, {"type": "topics", "weight": 0.7}], "threshold": 0.3, "minSize": 2},
22 {"name": "category+activity", "features": [{"type": "category", "weight": 1.0}, {"type": "activity", "weight": 0.6}], "threshold": 0.2, "minSize": 2},
1623]
1724
1825var _clusters: Array = []