graph

package
v0.0.0-...-7d51e33 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package graph transforms a DOT graph text file into the representation expected by the visualization package.

The graph is a directed acyclic graph where nodes represent functions and directed edges represent how many times a function calls another.

Index

Constants

View Source
const (
	UNDISCOVERED discoveryStatus = iota
	ONSTACK
	DISCOVERED
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Grapher

type Grapher interface {
	GraphAsText([]byte) (string, error)
}

Grapher handles transforming a DOT graph byte array into the representation expected by the visualization package.

func NewGrapher

func NewGrapher() Grapher

NewGrapher returns a default grapher struct with default attributes

Jump to

Keyboard shortcuts

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