Beads issueshttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues2019-05-28T13:20:01+02:00https://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/1Enable creation of states in the gui2019-05-28T13:20:01+02:00Adrian WuillemetEnable creation of states in the gui**User Story:**
> As a user I want to be able to create states in the GUI
**Definition of Done:**
+ A State can be created in the gui
___
**Implementation Tasks:**
+ [x] Use D3.js to react to user input by creating a new state
___
<t...**User Story:**
> As a user I want to be able to create states in the GUI
**Definition of Done:**
+ A State can be created in the gui
___
**Implementation Tasks:**
+ [x] Use D3.js to react to user input by creating a new state
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>5</td>
<td>-</td>
</tr>
</table>CodebasePavel NepkePavel Nepkehttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/2Provide tool online2019-07-11T21:20:45+02:00Adrian WuillemetProvide tool online**User Story:**
> As a user I want to be able to use the tool online
**Definition of Done:**
+ A static URL is available to access the tool
+ The GUI components can be used online
___
**Implementation Tasks:**
+ [ ] Set up a Server e...**User Story:**
> As a user I want to be able to use the tool online
**Definition of Done:**
+ A static URL is available to access the tool
+ The GUI components can be used online
___
**Implementation Tasks:**
+ [ ] Set up a Server environment
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>20</td>
<td>Running GUI</td>
</tr>
</table>https://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/3Add export into PNG2019-07-11T21:01:46+02:00Adrian WuillemetAdd export into PNG**User Story:**
> As a user I want to be able to export the FSM from the GUI into a PNG file
**Definition of Done:**
+ A drawn FSM can be exported as .png file.
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>...**User Story:**
> As a user I want to be able to export the FSM from the GUI into a PNG file
**Definition of Done:**
+ A drawn FSM can be exported as .png file.
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>8</td>
<td>Drawing of FSMs</td>
</tr>
</table>Adrian WuillemetAdrian Wuillemethttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/4Enable naming of fsm components2019-06-07T14:14:32+02:00Adrian WuillemetEnable naming of fsm components**User Story:**
> As a user I want to be able to name elements in the GUI
**Definition of Done:**
+ A component (state/transition) can be labeled with a string
+ A state reacts to longer names by extending its shape
+ Labels can be edi...**User Story:**
> As a user I want to be able to name elements in the GUI
**Definition of Done:**
+ A component (state/transition) can be labeled with a string
+ A state reacts to longer names by extending its shape
+ Labels can be edited at any time
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>8</td>
<td>States, Transitions</td>
</tr>
</table>Deployable BetaPavel NepkePavel Nepkehttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/5Provide help option for cli2019-05-17T13:13:44+02:00Adrian WuillemetProvide help option for cli**User Story:**
> As a user I want the command line tool to have a help option, so I can get information on all available options
**Definition of Done:**
+ All commands provide help on providing the '--help' option
___
**Implementatio...**User Story:**
> As a user I want the command line tool to have a help option, so I can get information on all available options
**Definition of Done:**
+ All commands provide help on providing the '--help' option
___
**Implementation Tasks:**
+ [x] Use click to automatically provide help options
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>?</td>
<td>-</td>
</tr>
</table>CodebaseAdrian WuillemetAdrian Wuillemethttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/6Add output dir and file option2019-05-31T15:51:31+02:00Adrian WuillemetAdd output dir and file option**User Story:**
> As a user I want to be able to pass the output directory / file of the generated code as an option
**Definition of Done:**
+ The output directory can be provided to the cli command
+ Resulting code will be saved in a ...**User Story:**
> As a user I want to be able to pass the output directory / file of the generated code as an option
**Definition of Done:**
+ The output directory can be provided to the cli command
+ Resulting code will be saved in a file in the provided directory
+ An invalid directory will result in program abort with descriptive error message
+ Standard cli help exists for the option
+ The filename can be provided to the cli command
+ Resulting code will be saved to a file with the given name
+ Standard behaviour for existing files is applied
___
**Implementation Tasks:**
+ [x] Extend CLI command with '-o', '--out-dir' option
+ [x] Extend CLI command with '-f', '--file-name' option
+ [X] Pass provided argument to the responsible scripts
+ [x] Use provided option in logic to write resulting code
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>?</td>
<td>Write files</td>
</tr>
</table>Alpha VersionAdrian WuillemetAdrian Wuillemethttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/7Make states removable2019-05-31T14:43:30+02:00Adrian WuillemetMake states removable**User Story:**
> As a user I want to be able to remove states in the GUI
**Definition of Done:**
+ A created state can be removed
___
**Implementation Tasks:**
+ [x] React to user input by deletion of fsm components
___
<table>
<tr...**User Story:**
> As a user I want to be able to remove states in the GUI
**Definition of Done:**
+ A created state can be removed
___
**Implementation Tasks:**
+ [x] React to user input by deletion of fsm components
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>8</td>
<td>States</td>
</tr>
</table>Alpha VersionPavel NepkePavel Nepkehttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/8Add programming language option2019-05-17T13:13:41+02:00Adrian WuillemetAdd programming language option**User Story:**
> As a user I want to be able to pass the programming language for the generated code as an option.
**Definition of Done:**
+ Providing the language for the cli is possible
+ An overview of valid programming languages c...**User Story:**
> As a user I want to be able to pass the programming language for the generated code as an option.
**Definition of Done:**
+ Providing the language for the cli is possible
+ An overview of valid programming languages can be generated
+ Providing an invalid language results in abort of execution with a descriptive error message
+ Standard documentation for the cli-option is present
___
**Implementation Tasks:**
+ [x] Extend entrypoint for cli by language option
+ [x] Provide command to list supported languages
+ [x] Use click to provide help and error behaviour for language option
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<td>1</td>
<td>-</td>
<tr>
</tr>
</table>CodebaseAdrian WuillemetAdrian Wuillemethttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/9Add final states type2019-07-11T21:43:29+02:00Adrian WuillemetAdd final states type**User Story:**
> As a user I want to be able to create final states in the GUI
**Definition of Done:**
+ A normal state can be converted to a final state
+ A final state can be converted to a normal state
+ A final state differs visua...**User Story:**
> As a user I want to be able to create final states in the GUI
**Definition of Done:**
+ A normal state can be converted to a final state
+ A final state can be converted to a normal state
+ A final state differs visually from normal states
___
**Implementation Tasks:**
+ [ ] Extend ts code for states by a final state
+ [ ] React to user input to change type of states
+ [ ] Provide styling for final states
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>8</td>
<td>States</td>
</tr>
</table>https://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/10Pass multiple files as input to the CLI2019-07-11T21:01:46+02:00Adrian WuillemetPass multiple files as input to the CLI**User Story:**
> As a user I want to be able to pass multiple files as arguments to the command line tool
**Definition of Done:**
+ The cli can handle multiple files as arguments for one command
___
**Implementation Tasks:**
+ [x] C...**User Story:**
> As a user I want to be able to pass multiple files as arguments to the command line tool
**Definition of Done:**
+ The cli can handle multiple files as arguments for one command
___
**Implementation Tasks:**
+ [x] Change parse option 'file' to 'files'
+ [x] Change option type to multiple
+ [x] adopt runners pipelines to handle multiple inputs
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<td>7</td>
<td>Running CLI</td>
<tr>
</tr>
</table>MarcoMarcohttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/11Export FSM into DOT2019-05-30T14:35:18+02:00Adrian WuillemetExport FSM into DOT**User Story:**
> As a user I want to be able to export the FSM from the GUI into a graphviz DOT file
**Definition of Done:**
+ A drawn fsm can be exported as a DOT file.
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints...**User Story:**
> As a user I want to be able to export the FSM from the GUI into a graphviz DOT file
**Definition of Done:**
+ A drawn fsm can be exported as a DOT file.
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>5</td>
<td>Drawing of FSMs</td>
</tr>
</table>https://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/12Save Code from the GUI2019-07-11T20:59:23+02:00Adrian WuillemetSave Code from the GUI**User Story:**
> As a user I want to be to generated code from the GUI
**Definition of Done:**
+ Valid code is saved locally in a file
+ Code resembles the drawn fsm
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th...**User Story:**
> As a user I want to be to generated code from the GUI
**Definition of Done:**
+ Valid code is saved locally in a file
+ Code resembles the drawn fsm
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>8</td>
<td>Drawing FSMs</td>
</tr>
</table>Deployable BetaRico PossienkaRico Possienkahttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/13Creating Code from the GUI2019-06-07T14:14:40+02:00Adrian WuillemetCreating Code from the GUI**User Story:**
> As a user I want to be able to generate and view code in the GUI
**Definition of Done:**
+ Correct code is displayed in the gui
+ The code resembles the drawn fsm
___
**Implementation Tasks:**
___
<table>
<tr>
<th>S...**User Story:**
> As a user I want to be able to generate and view code in the GUI
**Definition of Done:**
+ Correct code is displayed in the gui
+ The code resembles the drawn fsm
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>5</td>
<td>Drawing FSMs</td>
</tr>
</table>Deployable BetaPavel NepkePavel Nepkehttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/14Add export of svg in GUI2019-07-11T20:59:13+02:00Adrian WuillemetAdd export of svg in GUI**User Story:**
> As a user I want to be able to export the FSM from the GUI into a SVG file
**Definition of Done:**
+ A drawn fsm can be exported as svg file
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Re...**User Story:**
> As a user I want to be able to export the FSM from the GUI into a SVG file
**Definition of Done:**
+ A drawn fsm can be exported as svg file
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>3</td>
<td>Drawing of FSMs</td>
</tr>
</table>Rico PossienkaRico Possienkahttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/15Basic validation2019-06-07T14:15:07+02:00Adrian WuillemetBasic validation**User Story:**
> As a user I want to know that my FSM was validated before the code was generated
**Definition of Done:**
+ A provided fsm is validated
+ Feedback is given on command line about successful and failed validation
___
**...**User Story:**
> As a user I want to know that my FSM was validated before the code was generated
**Definition of Done:**
+ A provided fsm is validated
+ Feedback is given on command line about successful and failed validation
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>13</td>
<td>Validation</td>
</tr>
</table>Deployable BetaAdrian WuillemetAdrian Wuillemethttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/16Load fsms into gui2019-07-11T21:44:17+02:00Adrian WuillemetLoad fsms into gui**User Story:**
> As a user I want to be able to load a FSM from a file into the GUI
**Definition of Done:**
+ A fsm can be provided to be loaded into the gui
+ A visual representation of the fsm is drawn automatically
___
**Implement...**User Story:**
> As a user I want to be able to load a FSM from a file into the GUI
**Definition of Done:**
+ A fsm can be provided to be loaded into the gui
+ A visual representation of the fsm is drawn automatically
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>20</td>
<td>-</td>
</tr>
</table>Deployable Betahttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/17Save fsm as textfile2019-07-11T21:01:41+02:00Adrian WuillemetSave fsm as textfile**User Story:**
> As a user I want to be able to save a FSM into a file
**Definition of Done:**
+ A drawn fsm can be saved into a file
+ The saving directory can be specified
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypo...**User Story:**
> As a user I want to be able to save a FSM into a file
**Definition of Done:**
+ A drawn fsm can be saved into a file
+ The saving directory can be specified
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>5</td>
<td>Write File</td>
</tr>
</table>Rico PossienkaRico Possienkahttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/18Bendable Transitions2019-07-11T21:00:33+02:00Adrian WuillemetBendable Transitions**User Story:**
> As a user I want to be able to bend transitions in the GUI
**Definition of Done:**
+ Dragging a transition will bend its curve
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</...**User Story:**
> As a user I want to be able to bend transitions in the GUI
**Definition of Done:**
+ Dragging a transition will bend its curve
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>8</td>
<td>Transitions, Dragging</td>
</tr>
</table>Pavel NepkePavel Nepkehttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/19Add drawing documentation to GUI2019-05-31T14:39:47+02:00Adrian WuillemetAdd drawing documentation to GUI**User Story:**
> As a user I want to be able to access the documentation of drawing functionalities in the GUI
**Definition of Done:**
+ GUI contains a menu/tab that displays all available documentation for drawing
___
**Implementati...**User Story:**
> As a user I want to be able to access the documentation of drawing functionalities in the GUI
**Definition of Done:**
+ GUI contains a menu/tab that displays all available documentation for drawing
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>3</td>
<td></td>
</tr>
</table>Alpha VersionPavel NepkePavel Nepkehttps://gitlab.beuth-hochschule.de/s40242/stategen/-/issues/20Add options to the GUI2019-07-11T21:01:37+02:00Adrian WuillemetAdd options to the GUI**User Story:**
> As a user I want to be able to set the runtime parameters for the code generation in the GUI
**Definition of Done:**
+ GUI contains a menu that displays all available code generation options
+ Options can be set/chose...**User Story:**
> As a user I want to be able to set the runtime parameters for the code generation in the GUI
**Definition of Done:**
+ GUI contains a menu that displays all available code generation options
+ Options can be set/chosen and take effect on python side
___
**Implementation Tasks:**
___
<table>
<tr>
<th>Storypoints</th>
<th>Requires</th>
</tr>
<tr>
<td>8</td>
<td>CLI Options</td>
</tr>
</table>Deployable BetaAdrian WuillemetAdrian Wuillemet