deprecated-oc-search/models/graph.go

16 lines
328 B
Go
Raw Normal View History

2023-08-26 22:04:56 +02:00
package models
type GraphElement struct {
Id int `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
}
type GraphLink struct {
Id int `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Source int `json:"source"`
Destination int `json:"destination"`
}