sigma

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: 4 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 implements graph.Marshaler.

func NewMarshaler

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

NewMarshaler creates a new Marshaler and returns it.

func (*Marshaler) Marshal

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

Marshal marshals g into format that can be used by SigmaJS. See here for more: http://sigmajs.org/

Jump to

Keyboard shortcuts

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