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_conflict(target_id, source_id) #34

Closed siwells closed 7 years ago

siwells commented 7 years ago

Syntactic sugar to create a conflict structure from a pair of node IDs. Given a target and a source the source is said to conflict with the target. NB. The relationship is not bi-directional. For the target to also conflict with the source requires a similar relationship to be constructed in the opposing direction.

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

Return an argument object, e.g.

{ "target": atom, "scheme": atom, "source": atoms }