Versions in this module Expand all Collapse all v0 v0.9.2 May 11, 2021 Changes in this version + func AppendAttr(list, attr interface{}) ([]*ast.Attr, error) + func AppendAttrList(optList, optAttrs interface{}) ([]*ast.Attr, error) + func AppendGraph(file, graph interface{}) (*ast.File, error) + func AppendStmt(list, stmt interface{}) ([]ast.Stmt, error) + func NewAttr(key, val interface{}) (*ast.Attr, error) + func NewAttrList(attr interface{}) ([]*ast.Attr, error) + func NewAttrStmt(kind, optAttrs interface{}) (*ast.AttrStmt, error) + func NewEdge(directed, vertex, optTo interface{}) (*ast.Edge, error) + func NewEdgeStmt(from, to, optAttrs interface{}) (*ast.EdgeStmt, error) + func NewFile(graph interface{}) (*ast.File, error) + func NewGraph(strict, directed, optID, optStmts interface{}) (*ast.Graph, error) + func NewID(id interface{}) (string, error) + func NewNode(id, optPort interface{}) (*ast.Node, error) + func NewNodeStmt(node, optAttrs interface{}) (*ast.NodeStmt, error) + func NewPort(id, optCompassPoint interface{}) (*ast.Port, error) + func NewStmtList(stmt interface{}) ([]ast.Stmt, error) + func NewSubgraph(optID, optStmts interface{}) (*ast.Subgraph, error)