v0.3.0 added on_delete and related_name labels on the ER diagram for ForeignKey relations. Extend the same treatment to:
- OneToOneField (already parsed, just no label rendered)
- ManyToManyField
through= model — surface the intermediate model name in the label
Where to look: src/graphWebview.ts buildMermaid(), and the args extraction in src/parser.ts.
Test fixture: any Django project with a ManyToManyField(through='ThroughModel') relation.
Good first PR — small scope, clear pattern to follow from the existing on_delete code.
v0.3.0 added
on_deleteandrelated_namelabels on the ER diagram for ForeignKey relations. Extend the same treatment to:through=model — surface the intermediate model name in the labelWhere to look:
src/graphWebview.tsbuildMermaid(), and the args extraction insrc/parser.ts.Test fixture: any Django project with a
ManyToManyField(through='ThroughModel')relation.Good first PR — small scope, clear pattern to follow from the existing
on_deletecode.