# Help debugging Sequence Diagram plugin

**URL:** <https://meta.discourse.org/t/help-debugging-sequence-diagram-plugin/40279>\
**Category:** Development\
**Created:** [February 28, 2016, 6:31am UTC](https://meta.discourse.org/t/help-debugging-sequence-diagram-plugin/40279 "2016-02-28T06:31:54Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![nskerl](https://avatars.discourse-cdn.com/v4/letter/n/13edae/32.png) [@nskerl](https://meta.discourse.org/u/nskerl)\
**Post date:** [April 11, 2016, 3:36am UTC](https://meta.discourse.org/t/help-debugging-sequence-diagram-plugin/40279/16 "2016-04-11T03:36:19Z")

</div>

@eviltrout Thanks for the help. I managed to get this “working” tonight… though it is incredibly slow while typing in the preview edit.The call to the js library that performs the markup–\>svg transform is obviously expensive.

At this point I think my strategy is flawed, as I can’t be rebuilding the svg output on every keystroke, even if the diagram markup isn’t modified. Perhaps I can throttle the call somehow and only rebuild the diagram output after some small delay in keystrokes?

Any ideas to improve are much appreciated!

Latest code is here: [GitHub - nskerl/discourse-sequence-diagram · GitHub](https://github.com/nskerl/discourse-sequence-diagram/)

---

_[View the full topic](https://meta.discourse.org/t/help-debugging-sequence-diagram-plugin/40279)._
