Skip to content

Typed Links

Typed links are the most basic, manual way to add edges to the graph. They can be added in two ways.

In the YAML frontmatter of your note, you can add key/value pairs indicating a directed link to another note. The keys are your edge fields, while the values are links to different notes in your vault

---
parent: "[[A]]"
child: ["[[B]]", "[[C]]"]
---

This tells Breadcrumbs that the parent of the current note is “A”, and that its two children are “B” and “C”.

flowchart TD
	1(Note) -- parent --> 2(A)
	1 -- child --> 3(B) & 4(C)

If you have the Dataview plugin enabled, you can use their format of metadata as well. In the content of a note:

parent:: [[A]]
child:: [[B]], [[C]]

This creates the same structure as the frontmatter links method above.

[!TIP] Use the Edge Field Suggester to speed up adding Dataview typed-links

If you have Dataview enabled, Breadcrumbs will automatically detect and add edges from markdown links. These take the following format:

field:: [note name](path/to/note.md)