viz

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const HTMLEnd string = `` /* 151-byte string literal not displayed */
View Source
const HTMLStart string = `` /* 1598-byte string literal not displayed */

Variables

This section is empty.

Functions

func WriteGraphistryData

func WriteGraphistryData(nodes []Node, edges []Edge, output io.Writer)

func WriteVisjsData

func WriteVisjsData(nodes []Node, edges []Edge, output io.Writer)

Types

type Edge

type Edge struct {
	From, To int
	Label    string
	Title    string
}

type Node

type Node struct {
	ID     int
	Type   string
	Label  string
	Title  string
	Source string
}

Jump to

Keyboard shortcuts

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