last demo import - cleaned
This commit is contained in:
15
models/graph.go
Normal file
15
models/graph.go
Normal file
@@ -0,0 +1,15 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user