graph

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

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

type Context

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

func Initialize

func Initialize(graph map[string][]string) (Context, error)

func (*Context) TopologicalSortedDependenciesOf

func (ctx *Context) TopologicalSortedDependenciesOf(id string) []string

func (*Context) TopologicalSortedDependentFrom

func (ctx *Context) TopologicalSortedDependentFrom(id string) []string

type ErrCycle

type ErrCycle struct {
	Cycle []string
}

func (*ErrCycle) Error

func (e *ErrCycle) Error() string

type Node

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

type NodeIdMapping

type NodeIdMapping map[string]*Node

Jump to

Keyboard shortcuts

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