Commit Graph

117 Commits

Author SHA1 Message Date
David Evans f24933e5a1 Render self connections and wavy lines in vaguely sketch style [#18] 2018-01-13 14:10:32 +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 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 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 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 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 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 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 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 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 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 f7c4b1e4b2 Align left edge of boxes as far right as possible [#9] 2017-10-28 13:49:09 +01:00
David Evans b0ba84b4eb Begin separating theme out of renderer 2017-10-28 12:53:41 +01:00
David Evans 6884dfb525 Globally allow more statements in test files 2017-10-28 00:18:52 +01:00
David Evans 3fd9d4eb5f Multiline text everywhere 2017-10-28 00:09:54 +01:00
David Evans d76c42bf5e Support multiline titles 2017-10-26 21:09:36 +01:00
David Evans 94b41000bb Simplify bounds calculations 2017-10-26 19:29:14 +01:00
David Evans c6bc372688 Split some minor functionality out of Renderer (beginnings of code cleanup) 2017-10-25 21:45:21 +01:00
David Evans b240990f3e Add support for rendering notes and state [#2] 2017-10-25 20:57:11 +01:00
David Evans 5a2eb4813b Prevent outline collision when agents begin immediately inside a block 2017-10-25 00:44:25 +01:00
David Evans 1929e3ffb1 Support rendering conditional boxes [#1] 2017-10-25 00:36:30 +01:00
David Evans 5ecce9a6ab Minor tidying of Generator 2017-10-24 21:45:50 +01:00
David Evans 8cbdddec20 Add virtual side agents for blocks, simplify generator logic 2017-10-24 21:26:17 +01:00
David Evans 1449d73194 Simplify column positioning, automatic reordering where guaranteed safe 2017-10-23 22:02:59 +01:00
David Evans 45295a3843 Simplify connection handling 2017-10-23 20:31:24 +01:00
David Evans 6eb8de8160 Basic functionality (agents and labelled arrows) 2017-10-23 01:46:43 +01:00