| 71 | |
| 72 | /** Options controlling how {@link buildGraph} derives edges. */ |
| 73 | export interface BuildGraphOptions { |
| 74 | /** |
| 75 | * Derive typed edges from frontmatter fields whose values contain |
| 76 | * `[[wikilinks]]` (the field name becomes the relation type). Defaults to |
| 77 | * `true`. Set `false` to fall back to body-only edges (the pre-self-wiring |
| 78 | * behaviour), which also treats any frontmatter `[[link]]` as a plain |
| 79 | * untyped body edge. |
| 80 | */ |
| 81 | frontmatterRelations?: boolean; |
| 82 | } |
| 83 | |
| 84 | /** A typed relation declared in a note's frontmatter. */ |
| 85 | export interface FrontmatterRelation { |
nothing calls this directly
no outgoing calls
no test coverage detected