nodeplot

package
v0.0.0-...-631ac28 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coordinate

type Coordinate struct {
	X int
	Y int
}

type Random

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

func NewRandom

func NewRandom(parameters RandomParameters) *Random

func (*Random) PlotNodes

func (p *Random) PlotNodes() ([]Coordinate, error)

type RandomParameters

type RandomParameters interface {
	GetNodeCount() int
	GetMinimumDistance() int
	GetMaximumPlotAttempts() int
	GetGridSizeX() int
	GetGridSizeY() int
}

Jump to

Keyboard shortcuts

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