components

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Undefined wardleyToGo.ComponentType = iota
	Wardley                             = 32 << iota
	TeamTopologies
	UnedfinedEdge uint8 = iota

	UndefinedCoord = -maxInt - 1
)

Variables

This section is empty.

Functions

func CalcCoords

func CalcCoords(p image.Point, bounds image.Rectangle) image.Point

CalclCoords calculates the coordinates wrt to the bounds. it scales accordingly

Types

type Collaboration

type Collaboration struct {
	T         graph.Node
	F         graph.Node
	EdgeLabel string
	EdgeType  wardleyToGo.EdgeType
}

Collaboration is a generic collaboration type

func (Collaboration) From

func (e Collaboration) From() graph.Node

func (Collaboration) GetType

func (e Collaboration) GetType() wardleyToGo.EdgeType

func (Collaboration) ReversedEdge

func (e Collaboration) ReversedEdge() graph.Edge

func (Collaboration) To

func (e Collaboration) To() graph.Node

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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