func (s Service) CreateNode(node HasUID) error {
	c := CreateNode{
		Node: node,
	}
	_, err := c.Do(s.access)
	return err
}
// CreateNode creates a new Node.
// Return an error if the mutation fails.
// Requires a DGraphAccess with a Write transaction.
CreateNode creates a new Node.
Return an error if the mutation fails.
Requires a DGraphAccess with a Write transaction.
// CreateNode creates a new Node . // Return an error if the mutation fails . // Requires a DGraphAccess with a Write transaction .
func (s Service) CreateNode(node HasUID) error {
	c := CreateNode{
		Node: node,
	}
	_, err := c.Do(s.access)
	return err
}
func ( s Service ) CreateNode ( node HasUID ) error { c := CreateNode { Node : node , } _ , err := c . Do ( s . access ) return err }
CreateNode creates a new Node.
CreateNode creates a new Node .