phase4

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alg

type Alg uint8
const (
	NoPositioning Alg = iota
	VerticalAlign
	BrandesKoepf
	NetworkSimplex
	SinkColoring
	PackRight
)

func (Alg) Phase

func (alg Alg) Phase() int

Phase returns the ordinal number of this phase: 4.

func (Alg) Process

func (alg Alg) Process(g *graph.DGraph, params graph.Params)

Process runs this positioning algorithm on the input graph. The graph nodes must be layered and ordered.

func (Alg) String

func (alg Alg) String() (s string)

String returns a mnemonic representation of this algorithm. The exact string values are not documented and may change in the future.

Jump to

Keyboard shortcuts

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