Commit Graph

88 Commits

Author SHA1 Message Date
David Evans f8a757c508 Add markdown support [#29] 2018-01-15 00:14:39 +00:00
David Evans 0f22dc7f94 Refactor to enable formatted text everywhere, and make 'agent' dichotomy in generator clearer through naming [#29] 2018-01-14 23:10:48 +00:00
David Evans 2b5f7eea2b Add monospace theme [#30] 2018-01-14 15:29:46 +00:00
David Evans c458ac0cc1 Add explicit tests for windows-style newlines 2018-01-13 19:50:39 +00:00
David Evans f24933e5a1 Render self connections and wavy lines in vaguely sketch style [#18] 2018-01-13 14:10:32 +00:00
David Evans d1bab06bcc More PatternedLine testing and fixes for minor quirks 2018-01-13 00:01:18 +00:00
David Evans 4eb9ec21d6 Simplify and extract wavy line rendering 2018-01-12 23:23:49 +00:00
David Evans 3553c66c9c Optimise re-rendering to not destroy theme level <defs> [#6] 2018-01-12 21:27:16 +00:00
David Evans f0cb8e0ca5 Prevent rendering incorrectly in editor on first load if custom font is used (sketch theme) 2018-01-12 20:45:06 +00:00
David Evans 07145d13ea Render rounded rectangles for state in sketch style [#18] 2018-01-11 23:09:20 +00:00
David Evans 1771a89478 Fix fade terminator not always covering line in sketch theme [#18] 2018-01-11 21:51:04 +00:00
David Evans bb61d1faf3 Render if/else/repeat/ref blocks in sketch style, and improve standard rendering [#18] 2018-01-10 22:03:46 +00:00
David Evans 531b284afa Add sketch rendering for simple arrows and fix bug where wavy lines do not render when drawn right-to-left [#18] 2018-01-06 15:40:54 +00:00
David Evans 86e8b89a9c Fix randomness failing for some sketch components (not so singleton after all) [#18] 2018-01-06 00:42:25 +00:00
David Evans eaf4a956d4 Add beginnings of sketch theme [#18] 2018-01-05 23:19:54 +00:00
David Evans dc6a741ea4 Add editor-dev.htm with no CDN requirements to help offline development 2017-12-10 15:52:10 +00:00
David Evans 4b33114824 Use progressive enhancement when loading external modules 2017-12-10 15:46:09 +00:00
David Evans c1d604aacc Add library for resizing panes in editor [#28] 2017-12-01 17:19:21 +00:00
David Evans 05d5f56db1 Improve rendering of overlapping blocks, add click regions [#21] 2017-11-26 16:55:14 +00:00
David Evans 82a2c1a219 Fix block width when communicating with references [#21] 2017-11-26 16:26:38 +00:00
David Evans c60f2fa0f9 Mangle names for better minification 2017-11-25 13:52:26 +00:00
David Evans 189730d037 Add loading state to editor 2017-11-25 13:26:57 +00:00
David Evans a9d65b10b7 Add link to library page from editor 2017-11-24 23:24:46 +00:00
David Evans dce39792ac Support requirejs loading [#25] 2017-11-24 23:15:39 +00:00
David Evans c493530ecb Add bundled library script, + minification and demo page [#25] 2017-11-24 17:39:34 +00:00
David Evans 1bf6ad6b5b Provide simplified SequenceDiagram API 2017-11-23 22:41:24 +00:00
David Evans 25a01fea6b Fix incorrect agent names in autocomplete list [#27] 2017-11-22 19:21:38 +00:00
David Evans ece11167f3 Improve autocomplete triggers to make editing more intuitive 2017-11-22 18:52:35 +00:00
David Evans da7b03d3ed Tweak order of suggestions in autocomplete to be more useful 2017-11-22 18:38:42 +00:00
David Evans 7b8af40a24 Make vertical spacing more consistent 2017-11-22 18:24:33 +00:00
David Evans 587a6d7f26 Add support for reference boxes [#21] 2017-11-21 00:04:30 +00:00
David Evans 26bc3acd3e Improve block handling so references can be added [#21] 2017-11-19 22:57:46 +00:00
David Evans 9b819ced63 Simplify previews for terminators in library 2017-11-16 20:20:02 +00:00
David Evans a2f32593f7 Add fade headers to library items to make the relevant feature more obvious 2017-11-12 14:53:17 +00:00
David Evans 5b3d0af311 Add support for wavy connection lines [#24] 2017-11-12 14:16:24 +00:00
David Evans 16095cf78a Add label templates [#22], also Bowie is the *goblin* king... oops! 2017-11-12 12:23:06 +00:00
David Evans af2e786be8 Highlight elements according to cursor location [#23] 2017-11-12 00:25:59 +00:00
David Evans 6b25de59b9 Add regions around all terminator types 2017-11-11 23:39:15 +00:00
David Evans 85b4f99ccd Add parts library 2017-11-11 20:08:00 +00:00
David Evans 25ffd6a904 Select code in editor when elements are clicked [#16] 2017-11-10 23:38:28 +00:00
David Evans b562120c33 Support FireFox 2017-11-09 21:08:16 +00:00
David Evans 01e43fd3eb Simplify rendered SVGs slightly and add support for Safari 2017-11-09 20:09:16 +00:00
David Evans 121830f69c Add alternative arrow types [#20] 2017-11-08 22:50:41 +00:00
David Evans e6064b72de Add line numbers to errors [#15] 2017-11-08 19:57:41 +00:00
David Evans 2cb34c273c Tidy up chunky theme, add theme name autocomplete [#17] 2017-11-06 21:46:40 +00:00
David Evans f6f557bcd7 Beginnings of theme switching capability 2017-11-05 22:39:36 +00:00
David Evans 5b6cbd518e Use SVG mask to allow transparent background behind text and improve rendering of fade cap 2017-11-05 22:03:33 +00:00
David Evans 0fd7d84958 Add fade agent cap 2017-11-05 19:22:14 +00:00
David Evans 3b1fa67466 Simplify arrow rendering and fix 'bar' terminator width 2017-11-05 18:42:09 +00:00
David Evans ddb4430ed2 Add support for aliases, and fix various issues when using the same agent multiple times in a statement [#19] 2017-11-05 17:10:06 +00:00