graph

package
v0.0.0-...-e98d644 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNeighborsSorted

func GetNeighborsSorted[T cmp.Ordered](ctx context.Context, vertex *syncdag.Vertex[T]) []T

GetNeighborsSorted returns the neighbors of the given vertex sorted by their order index if available, otherwise by their key. This function may be used to implement Renderer with a consistent order of neighbors in the output.

Types

This section is empty.

Directories

Path Synopsis
Package tree provides functionality to render tree structures
Package tree provides functionality to render tree structures

Jump to

Keyboard shortcuts

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