DEV Community

Cover image for What Graphium can do 01: Mark what you wrote as input or output, and a diagram of the steps builds itself
Masaya Kumagai
Masaya Kumagai

Posted on Edited on

What Graphium can do 01: Mark what you wrote as input or output, and a diagram of the steps builds itself

This series introduces what has been added to Graphium so far, one feature per post, as it works today. The first issue covers provenance labels, which have been there since the first release (their names and the way you add them have changed along the way).

Say you write down how you baked bread: flour, an oven, baking time, the loaf. Group the writing into steps, select the words that matter, and mark them as Input, Tool, Parameter or Output. A diagram of the steps (a provenance graph) assembles itself on the right. You never draw it. It works the same for cooking, woodworking or study notes.

I did not want to interrupt the writing. So I made it possible to write normally first and add the marks afterward. Only what you marked appears in the graph, so every node leads back to words you wrote yourself.

The provenance follows the W3C PROV-DM standard, and you can export it as PROV-JSON-LD from the note menu. Standard provenance tools outside Graphium can read it.

Inside a step, the words for ingredients and tools carry Input, Tool and Parameter marks

Only the words you marked show up in the provenance graph on the right.

A block editor with the provenance graph assembled on the right

Details are in the manual: Labels & provenance. Provenance labels have been there since v0.1.0 (2026-03-26); PROV-JSON-LD export since v0.2.0.
GitHub: https://github.com/kumagallium/Graphium

Top comments (0)