package dot
import "gonum.org/v1/gonum/graph/formats/dot"
Package dot implements a parser for Graphviz DOT files.
Index ¶
- func Parse(r io.Reader) (*ast.File, error)
- func ParseBytes(b []byte) (*ast.File, error)
- func ParseFile(path string) (*ast.File, error)
- func ParseString(s string) (*ast.File, error)
Functions ¶
func Parse ¶
Parse parses the given Graphviz DOT file into an AST, reading from r.
func ParseBytes ¶
ParseBytes parses the given Graphviz DOT file into an AST, reading from b.
func ParseFile ¶
ParseFile parses the given Graphviz DOT file into an AST.
func ParseString ¶
ParseString parses the given Graphviz DOT file into an AST, reading from s.
Source Files ¶
doc.go dot.go sem.go
Directories ¶
Path | Synopsis |
---|---|
graph/formats/dot/ast | Package ast declares the types used to represent abstract syntax trees of Graphviz DOT graphs. |
graph/formats/dot/internal |
- Version
- v0.15.1 (latest)
- Published
- Aug 16, 2024
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 18 hours ago –
Tools for package owners.