Refactor to tree-based topology with ASCII visualization

This commit is contained in:
Ian Gulliver
2025-11-29 20:53:29 -08:00
parent 5dbdc0a408
commit c215800b17
4 changed files with 241 additions and 175 deletions

View File

@@ -9,13 +9,13 @@ import (
type Tendrils struct {
activeInterfaces map[string]context.CancelFunc
neighbors *Neighbors
nodes *Nodes
}
func New() *Tendrils {
return &Tendrils{
activeInterfaces: map[string]context.CancelFunc{},
neighbors: NewNeighbors(),
nodes: NewNodes(),
}
}