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. Non-English characters are fine, but characters with special meaning in en syntax and URL parsing might lead to unexpected results. See AnchorSyntax for details.

Fields

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

Example

[nodes.Citrus]
title = "Citrus Trees"
listed = true
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 listed = true is the same as not setting it at all.

The default values for unset fields are: