dot

package
v0.0.0-...-c7fa441 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Marshaler

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

Marshaler is used for marshaling graph to DOT format.

func NewMarshaler

func NewMarshaler(name, prefix, indent string) (*Marshaler, error)

NewMarshaler creates a new DOT graph marshaler and returns it.

func (*Marshaler) Marshal

func (m *Marshaler) Marshal(g graph.Graph) ([]byte, error)

Marshal marshal g into DOT and returns it.

Jump to

Keyboard shortcuts

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