printers

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

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

Go to latest
Published: Jul 6, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(b *bytes.Buffer, fileName string)

Types

type GraphMLPrinter

type GraphMLPrinter struct {
	// contains filtered or unexported fields
}

func NewGraphMLPrinter

func NewGraphMLPrinter(graph *pkg_graph.PkgGraph, nodeSize, nodeSizeBoost float64) *GraphMLPrinter

func (*GraphMLPrinter) WriteBuffer

func (p *GraphMLPrinter) WriteBuffer() *bytes.Buffer

func (*GraphMLPrinter) WriteEdgeElement

func (p *GraphMLPrinter) WriteEdgeElement(id, source, target string, weight int)

func (*GraphMLPrinter) WriteGraphElement

func (p *GraphMLPrinter) WriteGraphElement()

func (*GraphMLPrinter) WriteKeyElement

func (p *GraphMLPrinter) WriteKeyElement()

func (*GraphMLPrinter) WriteNodeElement

func (p *GraphMLPrinter) WriteNodeElement(name string, size float64)

type PrologPrinter

type PrologPrinter struct {
	// contains filtered or unexported fields
}

func NewPrologPrinter

func NewPrologPrinter(graph *pkg_graph.PkgGraph) *PrologPrinter

func (*PrologPrinter) WriteBuffer

func (p *PrologPrinter) WriteBuffer() *bytes.Buffer

func (*PrologPrinter) WriteConstraintsIDB

func (p *PrologPrinter) WriteConstraintsIDB()

func (*PrologPrinter) WriteDepIDB

func (p *PrologPrinter) WriteDepIDB()

func (*PrologPrinter) WriteEDB

func (p *PrologPrinter) WriteEDB()

func (*PrologPrinter) WriteLabelIDB

func (p *PrologPrinter) WriteLabelIDB()

func (*PrologPrinter) WriteNestedIDB

func (p *PrologPrinter) WriteNestedIDB()

func (*PrologPrinter) WriteSuppressWarnings

func (p *PrologPrinter) WriteSuppressWarnings()

Jump to

Keyboard shortcuts

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