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

Document Local IDs #51

Open siwells opened 7 years ago

siwells commented 7 years ago

UUIDs are necessary when assembling multiple argument structures together or working at scale, however they are unwieldy. Local IDs uniquely identify nodes within a SADFace document using the natural numbers, starting at 1 and increasing monotonically with each additional node. These represent a quick and easy way to differentiate and label nodes when visualising and working with local structures whilst maintaining the UUID format for large-scale and cross domain work.

siwells commented 6 years ago

Pondering whether this can be achieved within a document by using an abbreviation of the UUID rather like Git does with a shortened SHA1. This avoids adding extra fields and additional complexity whilst providing the main benefit of local IDs, i.e. much shorter and easier to use directly (without copying & pasting) than a full UUID.