package dot

import "gonum.org/v1/gonum/graph/formats/dot"

Package dot implements a parser for Graphviz DOT files.

Index

Functions

func Parse

func Parse(r io.Reader) (*ast.File, error)

Parse parses the given Graphviz DOT file into an AST, reading from r.

func ParseBytes

func ParseBytes(b []byte) (*ast.File, error)

ParseBytes parses the given Graphviz DOT file into an AST, reading from b.

func ParseFile

func ParseFile(path string) (*ast.File, error)

ParseFile parses the given Graphviz DOT file into an AST.

func ParseString

func ParseString(s string) (*ast.File, error)

ParseString parses the given Graphviz DOT file into an AST, reading from s.

Source Files

doc.go dot.go sem.go

Directories

PathSynopsis
graph/formats/dot/astPackage 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.