package
1.4.0
Repository: https://github.com/krotik/eliasdb.git
Documentation: pkg.go.dev

# Functions

CopyNode returns a shallow copy of a given node.
NewGraphEdge creates a new Edge instance.
NewGraphEdgeFromNode creates a new Edge instance.
NewGraphNode creates a new Node instance.
NewGraphNodeFromMap creates a new Node instance.
NodeClone clones a node.
NodeCompare compares node attributes.
NodeMerge merges two nodes together in a third node.
NodeSort sorts a list of nodes.

# Constants

EdgeEnd1Cascading is the flag to cascade delete operations from the first end */.
EdgeEnd1CascadingLast is a flag to indicate that cascading delete operations are only executed on the last/only edge of a kind */.
EdgeEnd1Key is the key of the first end */.
EdgeEnd1Kind is the kind of the first end */.
EdgeEnd1Role is the role of the first end */.
EdgeEnd2Cascading is the flag to cascade delete operations from the second end */.
EdgeEnd2CascadingLast is a flag to indicate that cascading delete operations are only executed on the last/only edge of a kind */.
EdgeEnd2Key is the key of the second end */.
EdgeEnd2Kind is the kind of the second end */.
EdgeEnd2Role is the role of the second end */.
NodeKey is the key attribute for a node */.
NodeKind is the kind attribute for a node */.
NodeName is the name attribute for a node */.

# Interfaces

Edge models edges in the graph */.
Node models nodes in the graph */.

# Type aliases

NodeSlice attaches the methods of sort.Interface to []Node, sorting in increasing order by key and kind.