Back to godoc.org

Package dot

v0.7.0
Latest Go to latest
Published: Feb 26, 2020 | License: BSD-3-Clause | Module: gonum.org/v1/gonum

Overview

Package dot implements a parser for Graphviz DOT files.

Index

Package Files

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier