layout

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignRandomCoordinates

func AssignRandomCoordinates(g graph.Graph, layoutR2 layout.LayoutR2, randomizerSeed uint64)

AssignRandomCoordinates assigns an x and y value to each node. These values are randomly chosen from within the value range: [-5.0*g.Nodes().Len(), 5.0*g.Nodes().Len()]

Types

This section is empty.

Jump to

Keyboard shortcuts

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