refactor: 按go modules规范重构

This commit is contained in:
2026-04-15 15:19:39 +08:00
parent 8c5cd3705a
commit 5d4bf761b8
21 changed files with 524 additions and 679 deletions
+12
View File
@@ -0,0 +1,12 @@
package model
// NodeInfo represents detailed node information
type NodeInfo struct {
ID string `json:"id"`
Label string `json:"label"`
Type string `json:"type"`
X float64 `json:"x,omitempty"`
Y float64 `json:"y,omitempty"`
Properties map[string]interface{} `json:"properties,omitempty"`
Neighbors []Node `json:"neighbors,omitempty"`
}