-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
115 lines (115 loc) · 3.76 KB
/
Copy pathplugin.json
File metadata and controls
115 lines (115 loc) · 3.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"noteplan.minAppVersion": "3.20.1",
"macOS.minVersion": "10.15.7",
"iOS.minVersion": "14",
"plugin.id": "marginalreader.ZettelGraphView",
"plugin.name": "Zettel Graph View",
"plugin.description": "Obsidian-style graph view of your NotePlan vault, with note-backed saved views you can favorite in the sidebar.",
"plugin.author": "Marginal Reader",
"plugin.version": "1.0.2",
"plugin.script": "script.js",
"plugin.url": "https://github.com/marginalreader/zettel-graph-view",
"plugin.requiredFiles": ["d3.min.js", "webview-bundle.js", "webview-styles.css"],
"plugin.commands": [
{
"name": "zettel graph view",
"alias": ["graph", "gv", "zgv"],
"description": "Open the Zettel Graph View panel",
"jsFunction": "openGraphView",
"sidebarView": {
"windowID": "zettel-graph-view",
"title": "Zettel Graph View",
"icon": "diagram-project",
"iconColor": "purple-500"
}
},
{
"name": "zettel graph view: load view",
"alias": ["load view"],
"description": "Load a saved Zettel Graph View (used by 'Load this view' callback links)",
"jsFunction": "loadSavedView",
"arguments": ["view filename"]
},
{
"name": "zettel graph view: save view",
"alias": ["save view"],
"description": "Save the current Zettel Graph View as a note",
"jsFunction": "saveCurrentView"
},
{
"name": "zettel graph view: refresh",
"alias": ["regraph"],
"description": "Force a full rescan and redraw of the graph",
"jsFunction": "refreshGraph"
},
{
"name": "graphHTMLMessage",
"alias": [],
"description": "Internal: routes messages from the HTMLView panel to plugin handlers",
"jsFunction": "graphHTMLMessage"
}
],
"plugin.settings": [
{
"type": "bool",
"key": "includeCalendarNotes",
"title": "Include Calendar Notes",
"description": "Show daily/weekly/monthly notes as graph nodes. Off by default — calendar notes can make the graph noisy.",
"default": false
},
{
"type": "[string]",
"key": "excludedFolders",
"title": "Excluded Folders",
"description": "Folders never scanned. Comma-separated, no leading slash.",
"default": ["@Templates", "@Archive", "@Trash", "@Plugins"]
},
{
"type": "string",
"key": "savedViewsFolder",
"title": "Saved Views Folder",
"description": "Folder where saved-view notes are stored.",
"default": "@Plugins/Zettel Graph View/Views"
},
{
"type": "string",
"key": "outlineExportFolder",
"title": "Outline Export Folder (default)",
"description": "Preferred folder for 'Export outline'. Pinned to the top of the folder picker as the default; you can still pick any other folder each time.",
"default": "Notes"
},
{
"type": "number",
"key": "defaultLinkDistance",
"title": "Default Link Distance",
"description": "D3 force-link distance.",
"default": 60
},
{
"type": "number",
"key": "defaultChargeStrength",
"title": "Default Charge Strength",
"description": "D3 charge force strength (negative for repulsion).",
"default": -200
},
{
"type": "number",
"key": "nodeRadiusMin",
"title": "Min Node Radius",
"default": 4
},
{
"type": "number",
"key": "nodeRadiusMax",
"title": "Max Node Radius",
"default": 20
},
{
"type": "number",
"key": "labelZoomThreshold",
"title": "Label Zoom Threshold",
"description": "Show node labels only when zoom level >= this value. Set to 0 to always show; the default of 1.0 shows labels at default zoom and hides them when you zoom far out.",
"default": 1.0
}
]
}