| … | … | @@ -24,10 +24,9 @@ var _current_view: int = 0 # index into VIEW_MODES |
| 24 | 24 | ## View modes: what drives the cluster icons |
| 25 | 25 | const VIEW_MODES: Array[Dictionary] = [ |
| 26 | 26 | {"label": "Groups", "algo": {}}, |
| 27 | | {"label": "Members", "algo": {"name": "members-only", "features": [{"type": "members", "weight": 1.0}], "threshold": 0.5, "minSize": 2}}, |
| 28 | | {"label": "Topics", "algo": {"name": "topics-only", "features": [{"type": "topics", "weight": 1.0}], "threshold": 0.3, "minSize": 2}}, |
| 29 | | {"label": "Category", "algo": {"name": "category-only", "features": [{"type": "category", "weight": 1.0}], "threshold": 0.1, "minSize": 2}}, |
| 30 | | {"label": "Activity", "algo": {"name": "activity-only", "features": [{"type": "activity", "weight": 1.0}], "threshold": 0.1, "minSize": 2}}, |
| 27 | {"label": "People", "algo": {"name": "people", "features": [{"type": "members", "weight": 1.0}], "threshold": 0.5, "minSize": 2}}, |
| 28 | {"label": "Topics", "algo": {"name": "topics", "features": [{"type": "topics", "weight": 1.0}], "threshold": 0.3, "minSize": 2}}, |
| 29 | {"label": "Activity", "algo": {"name": "activity", "features": [{"type": "activity", "weight": 1.0}], "threshold": 0.1, "minSize": 2}}, |
| 31 | 30 | ] |
| 32 | 31 | |
| 33 | 32 | const ICON_SIZE := 48 |