Recreated state transition diagram

Made with https://www.draw.io/

SVG file has Apache license comment added manually, if you
edit again, make sure you re-add it
diff --git a/img/state_transitions.svg b/img/state_transitions.svg
new file mode 100644
index 0000000..8a27ed8
--- /dev/null
+++ b/img/state_transitions.svg
@@ -0,0 +1,20 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<!--
+
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+-->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="444px" height="381px" version="1.1" content="&lt;mxfile userAgent=&quot;Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0&quot; version=&quot;7.8.0&quot; editor=&quot;www.draw.io&quot; type=&quot;dropbox&quot;&gt;&lt;diagram&gt;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&lt;/diagram&gt;&lt;/mxfile&gt;"><defs/><g transform="translate(0.5,0.5)"><rect x="87" y="0" width="120" height="60" rx="9" ry="9" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(132.5,23.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="29" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 30px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Initial</div></div></foreignObject><text x="15" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Initial</text></switch></g><rect x="87" y="80" width="120" height="60" rx="9" ry="9" fill="#d5e8d4" stroke="#82b366" pointer-events="none"/><g transform="translate(120.5,103.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="52" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 53px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Initialized</div></div></foreignObject><text x="26" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Initialized</text></switch></g><rect x="87" y="160" width="120" height="60" rx="9" ry="9" fill="#d5e8d4" stroke="#82b366" pointer-events="none"/><g transform="translate(119.5,183.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="54" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 55px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Operating</div></div></foreignObject><text x="27" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Operating</text></switch></g><rect x="87" y="240" width="120" height="60" rx="9" ry="9" fill="#d5e8d4" stroke="#82b366" pointer-events="none"/><g transform="translate(123.5,263.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="47" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 48px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Finished</div></div></foreignObject><text x="24" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Finished</text></switch></g><rect x="87" y="320" width="120" height="60" rx="9" ry="9" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(118.5,343.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="56" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 57px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Destroyed</div></div></foreignObject><text x="28" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Destroyed</text></switch></g><rect x="287" y="160" width="120" height="60" rx="9" ry="9" fill="#d5e8d4" stroke="#82b366" pointer-events="none"/><g transform="translate(323.5,183.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="46" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 47px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Stopped</div></div></foreignObject><text x="23" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Stopped</text></switch></g><path d="M 207.14 45.14 L 222.05 71.31 Q 227 80 220.37 84.96 L 213.74 89.92" fill="none" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 208.93 93.52 L 212.94 85.52 L 213.74 89.92 L 217.74 91.93 Z" fill="#000000" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 207.14 125.14 L 221.94 150.37 Q 227 159 220.29 164.36 L 213.58 169.72" fill="none" stroke="#6c8ebf" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 208.89 173.46 L 212.65 165.34 L 213.58 169.72 L 217.64 171.6 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 213.51 190.29 L 280.77 190.29" fill="none" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><path d="M 208.26 190.29 L 215.26 186.79 L 213.51 190.29 L 215.26 193.79 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><path d="M 286.02 190.29 L 279.02 193.79 L 280.77 190.29 L 279.02 186.79 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><path d="M 207.14 216 L 212.07 223 Q 217 230 213.86 234.65 L 210.71 239.3" fill="none" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><path d="M 207.77 243.65 L 208.79 235.89 L 210.71 239.3 L 214.59 239.81 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><path d="M 207.14 285.14 L 222.05 311.31 Q 227 320 219.62 325.52 L 212.24 331.04" fill="none" stroke="#050202" stroke-miterlimit="10" pointer-events="none"/><path d="M 208.04 334.19 L 211.55 327.19 L 212.24 331.04 L 215.74 332.8 Z" fill="#050202" stroke="#050202" stroke-miterlimit="10" pointer-events="none"/><path d="M 376.86 220 L 341.05 300.86 Q 337 310 327.45 312.96 L 213.22 348.4" fill="none" stroke="#b85450" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 208.21 349.95 L 213.86 344.54 L 213.22 348.4 L 215.93 351.22 Z" fill="#b85450" stroke="#b85450" stroke-miterlimit="10" pointer-events="none"/><path d="M 316.86 220 L 301.45 251.04 Q 297 260 287.06 261.14 L 213.47 269.56" fill="none" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><path d="M 208.25 270.16 L 214.81 265.89 L 213.47 269.56 L 215.61 272.84 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><path d="M 207.14 205.14 L 230.49 232.41 Q 237 240 227.51 243.16 L 214.81 247.4" fill="none" stroke="#090b0f" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 209.12 249.29 L 215.45 242.97 L 214.81 247.4 L 217.98 250.56 Z" fill="#090b0f" stroke="#090b0f" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 7 270 L 80.77 270.26" fill="none" stroke="#b85450" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 86.02 270.28 L 79.01 273.76 L 80.77 270.26 L 79.04 266.76 Z" fill="#b85450" stroke="#b85450" stroke-miterlimit="10" pointer-events="none"/><path d="M 87.14 174.86 L 65.94 185.51 Q 57 190 60.96 199.18 L 84.62 254.15" fill="none" stroke="#b85450" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 86.7 258.97 L 80.72 253.93 L 84.62 254.15 L 87.15 251.16 Z" fill="#b85450" stroke="#b85450" stroke-miterlimit="10" pointer-events="none"/><path d="M 87.14 45.14 L 12.79 181.22 Q 8 190 8 200 L 8 355 Q 8 365 18 365.02 L 81.77 365.13" fill="none" stroke="#b85450" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 87.02 365.14 L 80.02 368.63 L 81.77 365.13 L 80.03 361.63 Z" fill="#b85450" stroke="#b85450" stroke-miterlimit="10" pointer-events="none"/><path d="M 57 190 L 35.32 204.45 Q 27 210 30.94 219.19 L 84.63 344.43" fill="none" stroke="#b85450" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 86.7 349.26 L 80.73 344.2 L 84.63 344.43 L 87.16 341.45 Z" fill="#b85450" stroke="#b85450" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(225.5,308.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="34" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">expire</div></div></foreignObject><text x="17" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">expire</text></switch></g><path d="M 269 10 L 300.76 10" fill="none" stroke="#090b0f" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 306.76 10 L 298.76 14 L 300.76 10 L 298.76 6 Z" fill="#090b0f" stroke="#090b0f" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(315.5,2.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="127" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;">Automatic state change</div></div></foreignObject><text x="64" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Automatic state change</text></switch></g><path d="M 269 50 L 302.63 50" fill="none" stroke="#b85450" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 307.88 50 L 300.88 53.5 L 302.63 50 L 300.88 46.5 Z" fill="#b85450" stroke="#b85450" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(320.5,44.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="56" height="11" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;">Destruction</div></div></foreignObject><text x="28" y="11" fill="#000000" text-anchor="middle" font-size="11px" font-family="Helvetica">Destruction</text></switch></g><path d="M 269 90 L 302.63 90" fill="none" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><path d="M 307.88 90 L 300.88 93.5 L 302.63 90 L 300.88 86.5 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(318.5,80.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="102" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;">Manually triggered</div></div></foreignObject><text x="51" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Manually triggered</text></switch></g><path d="M 87.14 285.14 L 82.07 287.57 Q 77 290 79.21 299.75 L 85.74 328.65" fill="none" stroke="#b85450" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 86.9 333.77 L 81.94 327.71 L 85.74 328.65 L 88.77 326.17 Z" fill="#b85450" stroke="#b85450" stroke-miterlimit="10" pointer-events="none"/></g></svg>
diff --git a/usage.md b/usage.md
index d58a3c9..655f379 100644
--- a/usage.md
+++ b/usage.md
@@ -17,32 +17,28 @@
 Apache Taverna Server: Usage and API Guide
 ==========================================
 
-
+Note: In this documentation we will assume the Taverna server is installed on http://localhost:8080/taverna-server - unless you are running the server locally you will have to replace with `localhost:8080` with the corresponding `servername:port` (and switch to `https`) accordingly.
 
 Conceptual interface
 --------------------
 
-Conceptually, an instance of Taverna Server exists to manage a collection of workflow runs, as well as some global information that is provided to all on the server’s general capabilities. The server also supports an overall Atom feed per user that allows you to find out when your workflows terminate without having to poll each one separately. This feed is at *https://«SERVER:PORT»/taverna-server/feed* (with the default web-application name). The feed is not available to anonymous users, and will only accept updates from the internal notification mechanism.
+Conceptually, an instance of Taverna Server exists to manage a collection of workflow runs, as well as some global information that is provided to all on the server’s general capabilities. The server also supports an overall Atom feed per user that allows you to find out when your workflows terminate without having to poll each one separately. This feed is at *http://localhost:8080/taverna-server/feed* (with the default web-application name). The feed is not available to anonymous users, and will only accept updates from the internal notification mechanism.
 
 Each workflow run is associated with a working directory that is specific to that run; the name of the working directory is a value that is not repeated for any other run. Within the working directory, these[1] subdirectories will be created:
 
-*conf* Contains optional additional configuration files for the Taverna execution engine; empty by default.
-
-*externaltool* Contains optional additional configuration files for the external tool plugin; empty by default.
-
-*lib* Contains additional libraries that will be made available to bean­shell scripts; empty by default.
-
-*logs* Location that logs will be written to. In particular, will eventually contain the file *detail.log*, which can be very useful when debugging a workflow.
-
-*out* Location that output files will be written to if they are not collected into a Baclava file. This directory is only created during the workflow run; it should not be made beforehand.
-
-*plugins* Contains the additional plug-in code that is to be supported for the specific workflow run.
-
-*t2-database* Contains the database working files used by the Taverna execution engine. This directory is only created during the workflow run; it should not be made beforehand.
+* `conf` Additional configuration files for the Taverna execution engine; empty by default.
+* `externaltool` Optional additional configuration files for the external tool plugin; empty by default.
+* `lib` Additional libraries that will be made available to bean­shell scripts; empty by default.
+* `logs` Where logs will be written. In particular, will eventually contain the file `detail.log`, which can be very useful when debugging a workflow.
+* `out` Where output files will be written to if they are not collected into a Baclava file. This directory is only created during the workflow run; it should not be made beforehand.
+* `plugins` Additional plug-in code that is to be supported for the specific workflow run.
+* `t2-database`  Database working files used during Taverna Engine execution. This directory is only created during the workflow run; it should not be made beforehand.
 
 All file access operations are performed on files and directories beneath the working directory. The server prevents all access to dxirectories outside of that, so as to promote proper separation of the workflow runs. (Note in particular that the credential manager configuration directory will not be accessible; it is managed directly by the server.)
 
-Associated with each workflow run is a state. The state transition diagram is this:
+Associated with each workflow run is a **state**. The state transition diagram is this:
+
+![](img/state_transitions.svg)
 
 The blue states are the initial and final states, and all states in *italic* cannot be observed in practice. The black arrows represent automatic state changes, the blue arrows are for manually-triggered transition, and the red arrows are destructions, which can be done from any state (other than the initial unobservable one) and which may be either manually or automatically triggered; automatic destruction happens when the run reaches its expiry time (which you can set but cannot remove). Note that there are two transitions from *Operating* to *Finished*; they are not equivalent. The automatic transition represents the termination of the workflow execution with such outputs produced as are going to be generated, whereas the manual transition is where the execution is killed and outputs may be not generated even if they conceptually existed at that point. Also note that it is only the transition from *Initialized* to *Operating* that represents the start of the workflow execution engine.
 
@@ -53,9 +49,9 @@
 The (RESTful) Usage Pattern
 ---------------------------
 
-The Taverna Server supports both REST and SOAP APIs; you may use either API to access the service and any of the workflow runs hosted by the service. The full service descriptions are available at *http://«SERVER:PORT»/taverna-server/services* but to illustrate their use, here's a sample execution using the REST API.
+The Taverna Server supports both REST and SOAP APIs; you may use either API to access the service and any of the workflow runs hosted by the service. The full service descriptions are available at *http://localhost:8080/taverna-server/services* but to illustrate their use, here's a sample execution using the REST API.
 
-1.  The client starts by creating a workflow run. This is done by POSTing a T2flow document to the service at the address *http://«SERVER:PORT»/taverna-server/rest/runs* with the content type *application/vnd.taverna.t2flow+xml*.
+1.  The client starts by creating a workflow run. This is done by POSTing a T2flow document to the service at the address *http://localhost:8080/taverna-server/rest/runs* with the content type *application/vnd.taverna.t2flow+xml*.
 
 > The result of the POST is an *HTTP 201 Created* that gives the location of the created run (in a *Location* header), hereby denoted the *«RUN\_URI»* (it includes a UUID which you will need to save in order to access the run again, though the list of known UUIDs can be found above). Note that the run is not yet actually doing anything.
 
@@ -131,7 +127,7 @@
 
 2.  If the workflow refers to a secured external service, it is necessary to supply some additional credentials. For a SOAP web-service, these credentials are associated in Taverna with the WSDL description of the web service. The credentials *must* be supplied before the workflow run starts.
 
-> To set a username and password for a service, you would POST to *«RUN\_URI»/security/credentials* a message like this (assuming that the WSDL address is “*https://host/serv.wsdl*”, that the username to use is “*fred123*”, and that the password is “*ThePassWord*”):
+> To set a username and password for a service, you would POST to *«RUN\_URI»/security/credentials* a message like this (assuming that the WSDL address is “*https://example.com/serv.wsdl*”, that the username to use is “*fred123*”, and that the password is “*ThePassWord*”):
 >
 > &lt;t2sr:credential xmlns:t2sr=
 > "http://ns.taverna.org.uk/2010/xml/server/rest/"
@@ -140,7 +136,7 @@
 >
 > &lt;t2s:userpass&gt;
 >
-> &lt;t2s:serviceURI&gt;https://host/serv.wsdl&lt;/t2s:serviceURI&gt;
+> &lt;t2s:serviceURI&gt;https://example.com/serv.wsdl&lt;/t2s:serviceURI&gt;
 >
 > &lt;t2s:username&gt;fred123&lt;/t2s:username&gt;
 >