Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Edge ¶
type Edge struct {
FromID model.NoteID
ToID *model.NoteID // nil for unresolved links
EdgeType model.EdgeType
RawTarget model.RawTarget
Span model.Span
}
Edge represents a graph edge in memory
type ExportOptions ¶
type ExportOptions struct {
Roots []string // Root nodes (type:key or key) - empty means all nodes
Types []string // Filter by types
Tags []string // Filter by tags
States []string // Filter by states
EdgeTypes []string // Filter by edge types
Depth int // Maximum depth (default: 10)
Force bool // Overwrite existing file
}
ExportOptions represents options for graph export
type Graph ¶
type Graph struct {
Nodes map[model.NoteID]*Node
OutgoingEdges map[model.NoteID][]Edge // fromID -> []Edge
IncomingEdges map[model.NoteID][]Edge // toID -> []Edge
}
Graph represents a loaded subgraph
func LoadSubgraph ¶
LoadSubgraph loads a subgraph for specific node IDs
Click to show internal directories.
Click to hide internal directories.