driver

package
v0.0.0-...-f8ab10a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	Draw(*graph.Graph) (string, error)
}

Driver is an interface that represents a visualization driver that can take a graph object and output a string which can be read by the visualization tool.

type Graphviz

type Graphviz struct{}

Graphviz is a graphviz driver

func (Graphviz) Draw

func (Graphviz) Draw(g *graph.Graph) (string, error)

Draw implements driver and outputs graphviz digraph representation of the given graph

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL