extended-graph-setting-section
Installation
SKILL.md
Setting Section
Critical
- All imports must go through
"../internal"— never import from specific files withinsrc/. This is the barrel export pattern used everywhere. - Every new setting section file must be re-exported from
src/internal.ts. - Every setting item added to the body must be pushed to
this.elementsBody(the collapse/expand mechanism relies on this array). - Always call
ExtendedGraphInstances.plugin.saveSettings()after mutating any setting value. - i18n keys must be added to all three locale files:
i18n/en.json,i18n/fr.json,i18n/zh.json.
Instructions
Step 1: Add settings properties to ExtendedGraphSettings
Open src/settings/settings.ts. Add the new setting properties to the ExtendedGraphSettings interface, grouped with a comment: