refactor: 按go modules规范重构
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user