func NewPath(s string) *Graph {
	p := NewParser(bytes.NewBuffer([]byte(s)))
	p.Path()
	g := p.Graph()
	g.This = TypePath
	return g
}
NewPath takes a Unicode string representing an OGDL path, parses it and
returns it as a Graph object.

It also parses extended paths, as those used in templates, which may have
argument lists.
package ogdl
import (
	"bytes"
	"errors"
)