encoding

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package encoding provides a common graph encoding API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Key, Value string
}

Attribute is an encoded key value attribute pair use in graph encoding.

type AttributeSetter

type AttributeSetter interface {
	SetAttribute(Attribute) error
}

AttributeSetter is implemented by types that can set an encoded graph attribute.

type Attributer

type Attributer interface {
	Attributes() []Attribute
}

Attributer defines graph.Node or graph.Edge values that can specify graph attributes.

type Builder

type Builder interface {
	graph.Graph
	graph.Builder
}

Builder is a graph that can have user-defined nodes and edges added.

type MultiBuilder

type MultiBuilder interface {
	graph.Multigraph
	graph.MultigraphBuilder
}

MultiBuilder is a graph that can have user-defined nodes and edges added.

Directories

Path Synopsis
Package digraph6 implements graphs specified by digraph6 strings.
Package digraph6 implements graphs specified by digraph6 strings.
Package dot implements GraphViz DOT marshaling and unmarshaling of graphs.
Package dot implements GraphViz DOT marshaling and unmarshaling of graphs.
Package graph6 implements graphs specified by graph6 strings.
Package graph6 implements graphs specified by graph6 strings.
Package graphql implements JSON marshaling and unmarshaling of graph as used by GraphQL
Package graphql implements JSON marshaling and unmarshaling of graph as used by GraphQL

Jump to

Keyboard shortcuts

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