nettle

package
v0.0.0-...-eededc5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	Source string
	Target string
}

Edge A set of edges

type Graph

type Graph struct {
	Nodes []string
	Edges []Edge
}

Graph A graph

func (Graph) CreateGraph

func (g Graph) CreateGraph() GraphLayout

CreateGraph Create a nettle graph

type GraphLayout

type GraphLayout struct {
	Nodes []NodeLayout
	Edges []Edge
}

GraphLayout A graph

func Layout

func Layout(W, L, iter int, t float64, g GraphLayout) GraphLayout

Layout Compute graph layout

type NodeLayout

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

NodeLayout Nettle node with position and displacement

Jump to

Keyboard shortcuts

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