Commit Graph

173 Commits

Author SHA1 Message Date
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
David Evans 4384afdd03 Add GitHub link and tweak flags code suggestions 2017-11-05 14:59:18 +00:00
David Evans 7457131d1e Add support for creating and destroying agents during connections 2017-11-05 13:15:41 +00:00
David Evans b58506d546 Keep autocomplete hints out of the way when typing 2017-11-05 11:09:49 +00:00
David Evans f783750c0d Extract image export functionality, add convenience page for generating README images 2017-11-05 00:30:48 +00:00
David Evans 71437d2576 Add support for agent line highlighting, also sets groundwork for parallel actions [#10] 2017-11-04 22:18:57 +00:00
David Evans dc3d930544 Consistent agent flag handling in parser 2017-11-03 22:56:48 +00:00
David Evans 93c1e9cb8e Extract tokeniser, make arrow-line alignment perfect 2017-11-03 20:27:41 +00:00
David Evans 9b4e34c09c Add tests for array.indexOf helper 2017-11-03 18:59:01 +00:00
David Evans 2d8e3d60e1 Agents as objects after generate 2017-11-02 22:14:44 +00:00
David Evans 1016f9aac0 Report errors beneath code [#5] 2017-10-30 22:35:38 +00:00
David Evans 21977a601d Highlight lines with syntax errors 2017-10-30 22:02:08 +00:00
David Evans e720d57ec0 Update readme screenshot to match latest sample code 2017-10-30 21:23:58 +00:00
David Evans d1c810e2af Add integration testing 2017-10-30 21:22:20 +00:00
David Evans 90c4652f34 Simplify generator tests using jasmine.anything 2017-10-30 08:44:52 +00:00
David Evans c306b74b15 Prevent interpretation of quoted strings as keywords everywhere 2017-10-29 23:01:57 +00:00
David Evans 12f81b4f9d Begin introducing concept of agents and tokens having metadata 2017-10-29 22:30:02 +00:00
David Evans 55b5232fa6 Add autocomplete to editor [#4] 2017-10-29 16:41:33 +00:00
David Evans 4d301adf31 Add syntax colouring [#4] 2017-10-28 22:16:44 +01:00
David Evans cd949d6f38 Add support for unbordered text content, add convenience for placing notes/text on left/right of entire diagram 2017-10-28 18:30:01 +01:00
David Evans 912c9dbb64 Add initial support for asynchronous action blocks [#12] 2017-10-28 17:43:37 +01:00
David Evans 4772b16783 Support self-connections [#7] 2017-10-28 14:47:46 +01:00
David Evans fafaff7bce Persist code in local storage (if available) to avoid data loss when closing [#3] 2017-10-28 14:08:59 +01:00