Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustWritePUML ¶
func MustWritePUML(expression pgsql.Expression, path string)
Types ¶
type Graph ¶
type Graph struct {
Title string `json:"-"`
Style Style `json:"style"`
Nodes []Node `json:"nodes"`
Relationships []Relationship `json:"relationships"`
}
func SQLToDigraph ¶
func SQLToDigraph(node pgsql.SyntaxNode) (Graph, error)
type Relationship ¶
type SQLVisualizer ¶
type SQLVisualizer struct {
walk.Visitor[pgsql.SyntaxNode]
Graph Graph
// contains filtered or unexported fields
}
func (*SQLVisualizer) Enter ¶
func (s *SQLVisualizer) Enter(node pgsql.SyntaxNode)
func (*SQLVisualizer) Exit ¶
func (s *SQLVisualizer) Exit(node pgsql.SyntaxNode)
Click to show internal directories.
Click to hide internal directories.