About GVE Demo

Model

This demo allows playing with the chain model by directly consuming its backend components logic. As a quick start, just click Parse, and then Run, and inspect generated data. The chain diagram at the bottom is interactive: select one or more versions, and drag nodes at will.

A chain data structure consists of a linear sequence of nodes, each connected to the previous and the next node by a link. Additionally, each link has a version tag, which adds the dimension of time to this structure.

Internally, this structure collects nodes and links, and once they are added, they cannot be removed (unless we are using a single version). Any modification is done by adding new nodes and links, which connect or disconnect or reorder the existing nodes.

When the chain is empty, there are no nodes or links. When there is at least one node, there always are links for the head and the tail of the chain. So, the structure, when not empty, always alternates links and nodes, starting and ending with links.

This structure allows to represent different states of a text in time, after operations change it. Each operation introduces a new version (unless you are overwriting the previous version), so that building the text for a version is done by just following the path defined by links among nodes. At any time, you can build the text for any version, while still using a single object to represent all of the versions. Operations usually add new links, and optionally add new nodes; anyway, both nodes and links are immutable items of an unordered set.

For more information, please see the VEdition documentation.

Demo

To use the demo, you can either enter your own base text and operations using their domain specific language, or just pick a preset text/operations pair from the list.

Once you have entered these data, click Parse to parse operations, and then Run to run them and inspect the results.

To get a sample TEI rendition of the result, click Export. This currently just uses one specific TEI output, inspired by the Saba 1919 edition, with minimal data to keep it simple. Anyway, please notice that currently this is just an experimental feature mostly used to play with TEI export components during their development, which has just started.

An unhandled error has occurred. Reload 🗙