Mermaid-Chart / issue-tracker

Other
11 stars 2 forks source link

Editing notes can be sluggish when diagram sync is enabled #102

Open dev-guy opened 1 month ago

dev-guy commented 1 month ago

Is your feature request related to a problem? Please describe. When syncing is enabled, modifying notes causes the diagram to redraw each time a key is pressed. This slows down the notes view considerably for a large diagram (eg ER diagram with 12+ entities). It can only display about one new character a second.

Describe the solution you'd like Don't redraw the diagram so typing will be normal speed. Notes don't affect the diagram AFAIK.

Describe alternatives you've considered Disable diagram syncing.

Additional context