Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶
Edge ...
func (Edge) Attributes ¶
Attributes fulfills the gonum encoding Attributer
func (Edge) ReversedEdge ¶
ReversedEdge returns a new Edge with the F and T fields swapped.
type Graph ¶
type Graph struct { *simple.DirectedGraph // Reference of the term and their associated nodes Reference map[rdf.Term]*Node // Dict ... Dict map[string]rdf.Term }
Graph is carrying the information
BUG: the simple graph does not handle multiple edges between two identical nodes
func (*Graph) FindNode ¶
FindNode returns a node whose Term match t's rawstring it returns nil if no matching node is found
Click to show internal directories.
Click to hide internal directories.