Files

13 lines
476 B
Go

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"`
}