gonum: gonum.org/v1/gonum/graph/encoding Index | Files | Directories

package encoding

import "gonum.org/v1/gonum/graph/encoding"

Package encoding provides a common graph encoding API.

Index

Package Files

doc.go encoding.go

type Attribute Uses

type Attribute struct {
    Key, Value string
}

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

type AttributeSetter Uses

type AttributeSetter interface {
    SetAttribute(Attribute) error
}

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

type Attributer Uses

type Attributer interface {
    Attributes() []Attribute
}

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

type Builder Uses

type Builder interface {
    graph.Graph
    graph.Builder
}

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

type MultiBuilder Uses

type MultiBuilder interface {
    graph.Multigraph
    graph.MultigraphBuilder
}

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

Directories

PathSynopsis
digraph6Package digraph6 implements graphs specified by digraph6 strings.
dotPackage dot implements GraphViz DOT marshaling and unmarshaling of graphs.
graph6Package graph6 implements graphs specified by graph6 strings.
graphqlPackage graphql implements JSON marshaling and unmarshaling of graph as used by GraphQL

Package encoding imports 1 packages (graph) and is imported by 28 packages. Updated 2019-04-05. Refresh now. Tools for package owners.