Nouns, the fundamental unit of content

The fundamental goal of Digraph is to treat a website as a directed graph of pieces of content. Each piece of content is referred to as a "noun." Each noun can have any number of parents, allowing more complex site structures than a pure hierarchical arrangement.

Inside Digraph, all Nouns are treated equally. They are all stored in the same database table, and all consist of a largely unstructured chunk of JSON data.

Referring to Nouns

Noun ID

In its purest form, a Noun is assigned a random ID string, and this string will never change and can be used to refer to the Noun in URLs.

For example, a Noun with the ID abcd1234 on the site example.com will always be accessible at the URL example.com/abcd1234

Slugs

Some content types also enable the use of "slugs," which are simply strings that can be used in place of the Noun's ID to reference it. Slugs work in BBCode tags and URLs, and can generally be substituted anywhere a Noun ID would be used.

To extend the above example, if the Noun abcd1234 were assigned the slug my-section/my-page it would remain accessible at example.com/abcd1234, but would now also be accessible at example.com/my-section/my-page.