siwells / SADFace

The Simple Argument Description Format
http://arg.napier.ac.uk/page/project/sadface/
GNU General Public License v3.0
0 stars 2 forks source link

add_support(conclusion_id, supporting_ids) #33

Closed siwells closed 7 years ago

siwells commented 7 years ago

Syntactic sugar to create an argument structure from a set of existing nodes. Given a conclusion node t & a list of premise nodes, create an intermediate, default "support" scheme node & edges as required.

This makes it easier to build a SADFace document without manually creating and organising individual nodes.

Return an argument object, e.g.

{ "conclusion": atom, "scheme": atom, "premises": [atom(s)] }

siwells commented 7 years ago

Fixed by commit #cd6d261 which added support for IDs to the add_argument function so an explicit add_support function would add repeated functionality.