Node

A node is defined in your graph file starting with a table header of the form:

[nodes.ID]

Where ID is an identifier of your choice.

While the TOML specification is quite flexible regarding what characters can make up this identifier, it's recommended that you keep it simple and use only letters and numbers. See AnchorSyntax for more details on why.

Fields

Nodes can have several optional fields that alter how en interprets and displays them.

Example

[nodes.Citrus]
title = "Citrus Trees"
hidden = false
text = "Citrus is a |genus| of trees known mainly for its fruits."
redirect = "Citric"
links = [ "Orange", "Lemon", "Lime", "Grapefruit", ]

[[nodes.Citrus.connections]]
from = "Citrus"
to = "Citric acid"

Default values

The example above has all fields in it for completeness, but all fields have default values and are therefore optional. This means that explicitly writing hidden = false is the same as not setting it at all.

The default values for unset fields are: