Documentation
¶
Index ¶
- type Edge
- type Element
- type Entity
- func (e *Entity) GetClass() string
- func (e *Entity) GetGroup() string
- func (e *Entity) GetProperties() map[string]interface{}
- func (e *Entity) GetPropertyAsFloat64(name string) (float64, error)
- func (e *Entity) GetVertex() string
- func (e *Entity) SetProperties(properties map[string]interface{})
- func (e *Entity) SetProperty(name string, value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶
type Edge struct {
Class string `json:"class,omitempty" bson:"class,omitempty" yaml:"class,omitempty" hcl:"class,omitempty"`
Group string `json:"group" bson:"group" yaml:"group" hcl:"group"`
Source string `json:"source" bson:"source" yaml:"source" hcl:"source"`
Destination string `json:"destination" bson:"destination" yaml:"destination" hcl:"destination"`
Directed bool `json:"directed" bson:"directed" yaml:"directed" hcl:"directed"`
Properties map[string]interface{} `json:"properties" bson:"properties" yaml:"properties" hcl:"properties"`
}
func (*Edge) GetDestination ¶
func (*Edge) GetProperties ¶
func (*Edge) IsDirected ¶
func (*Edge) SetProperty ¶
type Entity ¶
type Entity struct {
Class string `json:"class,omitempty" bson:"class,omitempty" yaml:"class,omitempty" hcl:"class,omitempty"`
Group string `json:"group" bson:"group" yaml:"group" hcl:"group"`
Vertex string `json:"vertex" bson:"vertex" yaml:"vertex" hcl:"group"`
Properties map[string]interface{} `json:"properties" bson:"properties" yaml:"properties" hcl:"properties"`
}
func (*Entity) GetProperties ¶
func (*Entity) GetPropertyAsFloat64 ¶
func (*Entity) SetProperties ¶
func (*Entity) SetProperty ¶
Click to show internal directories.
Click to hide internal directories.