Skip to content
Tool to create graphical representations of Goal Structuring Notations from YAML.
Python Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
example.gsn.yaml
gsn2dot.yslt
gsn2x.cmd
yslt.py

README.md

gsn2x

This little script converts Goal Structuring Notation in YAML to a graphical representation.

Feel free to use it and please let me know.

Python 3 is required with the following modules pathlib, jinja2, yaml. Moreover, Graphviz dot is required.

Usage

On Windows you can just run:

gsn2x.cmd <yourgsnfile> [<output format, e.g. png>]

On other systems you can create a PNG like this:

python yslt.py -s gsn2dot.yslt <yourgsnfile> | dot -Tpng > <yourgsnfile.png>

Syntax in YAML

The following GSN elements are supported: Goals (G), Argument (A), Justification (J), Solution (Sn) and Strategy (S).

Every element is defined by a letter and a number. The first line of the element is its text. The supportedBy gives a list of the supporting arguments, justifications or assumptions.

G1: 
 - "Goal"
 - supportedBy: [S1]

S1:
 - "Strategy"
You can’t perform that action at this time.