{"action":"created","comment":{"url":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/comments/71664061","id":71664061,"diff_hunk":"@@ -185,6 +192,45 @@ test( \"Quoted names\", function() {\n \tassertSingleArrow(Diagram.parse(\"\\\"->:\\\"->B: M\"), ARROWTYPE.FILLED, LINETYPE.SOLID, \"->:\", \"B\", \"M\");\n \tassertSingleArrow(Diagram.parse(\"A->\\\"->:\\\": M\"), ARROWTYPE.FILLED, LINETYPE.SOLID, \"A\", \"->:\", \"M\");\n \tassertSingleActor(Diagram.parse(\"Participant \\\"->:\\\"\"), \"->:\");\n+\tassertSingleArrow(Diagram.parse(\"A->\\\"+B\\\": M\"), ARROWTYPE.FILLED, LINETYPE.SOLID, \"A\", \"+B\", \"M\");\n+\tassertSingleArrow(Diagram.parse(\"\\\"+A\\\"->B: M\"), ARROWTYPE.FILLED, LINETYPE.SOLID, \"+A\", \"B\", \"M\");\n+\tassertSingleArrow(Diagram.parse(\"\\\"+A\\\"->\\\"+B\\\": M\"), ARROWTYPE.FILLED, LINETYPE.SOLID, \"+A\", \"+B\", \"M\");\n+});\n+\n+test( \"Executions\", function () {","path":"test/grammar-tests.js","position":23,"original_position":23,"commit_id":"f7199d94d4a9fbe68a61fd65cc746c6e789d4b3f","original_commit_id":"f7199d94d4a9fbe68a61fd65cc746c6e789d4b3f","user":{"login":"Andrew-Dunn","id":417197,"avatar_url":"https://avatars.githubusercontent.com/u/417197?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrew-Dunn","html_url":"https://github.com/Andrew-Dunn","followers_url":"https://api.github.com/users/Andrew-Dunn/followers","following_url":"https://api.github.com/users/Andrew-Dunn/following{/other_user}","gists_url":"https://api.github.com/users/Andrew-Dunn/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrew-Dunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrew-Dunn/subscriptions","organizations_url":"https://api.github.com/users/Andrew-Dunn/orgs","repos_url":"https://api.github.com/users/Andrew-Dunn/repos","events_url":"https://api.github.com/users/Andrew-Dunn/events{/privacy}","received_events_url":"https://api.github.com/users/Andrew-Dunn/received_events","type":"User","site_admin":false},"body":"I imagine ++ will throw an error too. I've only allowed single changes to the execution level.","created_at":"2016-07-21T08:16:31Z","updated_at":"2016-07-21T08:16:31Z","html_url":"https://github.com/bramp/js-sequence-diagrams/pull/157#discussion_r71664061","pull_request_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/157","_links":{"self":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/comments/71664061"},"html":{"href":"https://github.com/bramp/js-sequence-diagrams/pull/157#discussion_r71664061"},"pull_request":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/157"}}},"pull_request":{"url":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/157","id":78154427,"html_url":"https://github.com/bramp/js-sequence-diagrams/pull/157","diff_url":"https://github.com/bramp/js-sequence-diagrams/pull/157.diff","patch_url":"https://github.com/bramp/js-sequence-diagrams/pull/157.patch","issue_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/issues/157","number":157,"state":"open","locked":false,"title":"Added support for UML ExecutionSpecifications","user":{"login":"Andrew-Dunn","id":417197,"avatar_url":"https://avatars.githubusercontent.com/u/417197?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrew-Dunn","html_url":"https://github.com/Andrew-Dunn","followers_url":"https://api.github.com/users/Andrew-Dunn/followers","following_url":"https://api.github.com/users/Andrew-Dunn/following{/other_user}","gists_url":"https://api.github.com/users/Andrew-Dunn/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrew-Dunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrew-Dunn/subscriptions","organizations_url":"https://api.github.com/users/Andrew-Dunn/orgs","repos_url":"https://api.github.com/users/Andrew-Dunn/repos","events_url":"https://api.github.com/users/Andrew-Dunn/events{/privacy}","received_events_url":"https://api.github.com/users/Andrew-Dunn/received_events","type":"User","site_admin":false},"body":"I've added support for UML ExecutionSpecifications, which are the grey\r\nbars commonly seen in UML Sequence Diagrams, and indicate the execution\r\nof an action.\r\n\r\nUsing them is quite simple, all you need to do is prepend a `+` or `-`\r\ncharacter before the actor/lifeline that will be executing an action.\r\nThe `+` character will begin the ExecutionSpecification, and the `-`\r\ncharacter will end it.\r\n\r\nExample\r\n-------\r\nThe following example shows an API executing a function in response to\r\na user calling function foo().\r\n\r\n    User->+API: foo()\r\n    note right of API: Processing foo.\r\n    -API-->User: Result.\r\n\r\nKnown Issues:\r\n-------------\r\nDoing a double jump in a single self-signal will cause some rendering issues. I don't expect this will be commonly encountered.\r\n\r\n    +A->+A: This will cause some rendering issues regarding arrow placement.","created_at":"2016-07-20T14:14:04Z","updated_at":"2016-07-21T08:16:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20775b51b13128fcfd45bf0f6afb6ad5237dafc0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/157/commits","review_comments_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/157/comments","review_comment_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/issues/157/comments","statuses_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/statuses/f7199d94d4a9fbe68a61fd65cc746c6e789d4b3f","head":{"label":"Andrew-Dunn:feature-execution-specifications","ref":"feature-execution-specifications","sha":"f7199d94d4a9fbe68a61fd65cc746c6e789d4b3f","user":{"login":"Andrew-Dunn","id":417197,"avatar_url":"https://avatars.githubusercontent.com/u/417197?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrew-Dunn","html_url":"https://github.com/Andrew-Dunn","followers_url":"https://api.github.com/users/Andrew-Dunn/followers","following_url":"https://api.github.com/users/Andrew-Dunn/following{/other_user}","gists_url":"https://api.github.com/users/Andrew-Dunn/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrew-Dunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrew-Dunn/subscriptions","organizations_url":"https://api.github.com/users/Andrew-Dunn/orgs","repos_url":"https://api.github.com/users/Andrew-Dunn/repos","events_url":"https://api.github.com/users/Andrew-Dunn/events{/privacy}","received_events_url":"https://api.github.com/users/Andrew-Dunn/received_events","type":"User","site_admin":false},"repo":{"id":63570942,"name":"js-sequence-diagrams","full_name":"Andrew-Dunn/js-sequence-diagrams","owner":{"login":"Andrew-Dunn","id":417197,"avatar_url":"https://avatars.githubusercontent.com/u/417197?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrew-Dunn","html_url":"https://github.com/Andrew-Dunn","followers_url":"https://api.github.com/users/Andrew-Dunn/followers","following_url":"https://api.github.com/users/Andrew-Dunn/following{/other_user}","gists_url":"https://api.github.com/users/Andrew-Dunn/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrew-Dunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrew-Dunn/subscriptions","organizations_url":"https://api.github.com/users/Andrew-Dunn/orgs","repos_url":"https://api.github.com/users/Andrew-Dunn/repos","events_url":"https://api.github.com/users/Andrew-Dunn/events{/privacy}","received_events_url":"https://api.github.com/users/Andrew-Dunn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Andrew-Dunn/js-sequence-diagrams","description":"Draws simple SVG sequence diagrams from textual representation of the diagram","fork":true,"url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams","forks_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/forks","keys_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/teams","hooks_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/hooks","issue_events_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/issues/events{/number}","events_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/events","assignees_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/assignees{/user}","branches_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/branches{/branch}","tags_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/tags","blobs_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/git/refs{/sha}","trees_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/statuses/{sha}","languages_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/languages","stargazers_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/stargazers","contributors_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/contributors","subscribers_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/subscribers","subscription_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/subscription","commits_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/commits{/sha}","git_commits_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/git/commits{/sha}","comments_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/comments{/number}","issue_comment_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/issues/comments{/number}","contents_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/contents/{+path}","compare_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/merges","archive_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/downloads","issues_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/issues{/number}","pulls_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/pulls{/number}","milestones_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/milestones{/number}","notifications_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/labels{/name}","releases_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/releases{/id}","deployments_url":"https://api.github.com/repos/Andrew-Dunn/js-sequence-diagrams/deployments","created_at":"2016-07-18T04:46:57Z","updated_at":"2016-07-18T04:46:58Z","pushed_at":"2016-07-20T16:08:30Z","git_url":"git://github.com/Andrew-Dunn/js-sequence-diagrams.git","ssh_url":"git@github.com:Andrew-Dunn/js-sequence-diagrams.git","clone_url":"https://github.com/Andrew-Dunn/js-sequence-diagrams.git","svn_url":"https://github.com/Andrew-Dunn/js-sequence-diagrams","homepage":"https://bramp.github.io/js-sequence-diagrams/","size":2018,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bramp:master","ref":"master","sha":"f060d9c03158a0841608e6efe01c065ee3f1649e","user":{"login":"bramp","id":160627,"avatar_url":"https://avatars.githubusercontent.com/u/160627?v=3","gravatar_id":"","url":"https://api.github.com/users/bramp","html_url":"https://github.com/bramp","followers_url":"https://api.github.com/users/bramp/followers","following_url":"https://api.github.com/users/bramp/following{/other_user}","gists_url":"https://api.github.com/users/bramp/gists{/gist_id}","starred_url":"https://api.github.com/users/bramp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramp/subscriptions","organizations_url":"https://api.github.com/users/bramp/orgs","repos_url":"https://api.github.com/users/bramp/repos","events_url":"https://api.github.com/users/bramp/events{/privacy}","received_events_url":"https://api.github.com/users/bramp/received_events","type":"User","site_admin":false},"repo":{"id":6736646,"name":"js-sequence-diagrams","full_name":"bramp/js-sequence-diagrams","owner":{"login":"bramp","id":160627,"avatar_url":"https://avatars.githubusercontent.com/u/160627?v=3","gravatar_id":"","url":"https://api.github.com/users/bramp","html_url":"https://github.com/bramp","followers_url":"https://api.github.com/users/bramp/followers","following_url":"https://api.github.com/users/bramp/following{/other_user}","gists_url":"https://api.github.com/users/bramp/gists{/gist_id}","starred_url":"https://api.github.com/users/bramp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramp/subscriptions","organizations_url":"https://api.github.com/users/bramp/orgs","repos_url":"https://api.github.com/users/bramp/repos","events_url":"https://api.github.com/users/bramp/events{/privacy}","received_events_url":"https://api.github.com/users/bramp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bramp/js-sequence-diagrams","description":"Draws simple SVG sequence diagrams from textual representation of the diagram","fork":false,"url":"https://api.github.com/repos/bramp/js-sequence-diagrams","forks_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/forks","keys_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/teams","hooks_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/hooks","issue_events_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/issues/events{/number}","events_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/events","assignees_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/assignees{/user}","branches_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/branches{/branch}","tags_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/tags","blobs_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/git/refs{/sha}","trees_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/statuses/{sha}","languages_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/languages","stargazers_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/stargazers","contributors_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/contributors","subscribers_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/subscribers","subscription_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/subscription","commits_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/commits{/sha}","git_commits_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/git/commits{/sha}","comments_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/comments{/number}","issue_comment_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/issues/comments{/number}","contents_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/contents/{+path}","compare_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/merges","archive_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/downloads","issues_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/issues{/number}","pulls_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls{/number}","milestones_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/milestones{/number}","notifications_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/labels{/name}","releases_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/releases{/id}","deployments_url":"https://api.github.com/repos/bramp/js-sequence-diagrams/deployments","created_at":"2012-11-17T15:33:46Z","updated_at":"2016-07-20T19:55:20Z","pushed_at":"2016-07-20T16:08:31Z","git_url":"git://github.com/bramp/js-sequence-diagrams.git","ssh_url":"git@github.com:bramp/js-sequence-diagrams.git","clone_url":"https://github.com/bramp/js-sequence-diagrams.git","svn_url":"https://github.com/bramp/js-sequence-diagrams","homepage":"https://bramp.github.io/js-sequence-diagrams/","size":2193,"stargazers_count":4158,"watchers_count":4158,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":538,"mirror_url":null,"open_issues_count":69,"forks":538,"open_issues":69,"watchers":4158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/157"},"html":{"href":"https://github.com/bramp/js-sequence-diagrams/pull/157"},"issue":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/issues/157"},"comments":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/issues/157/comments"},"review_comments":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/157/comments"},"review_comment":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/pulls/157/commits"},"statuses":{"href":"https://api.github.com/repos/bramp/js-sequence-diagrams/statuses/f7199d94d4a9fbe68a61fd65cc746c6e789d4b3f"}}}}
{"actor":{"display_login":"Andrew-Dunn"}}