graphml

package
v0.0.0-...-f0bd5fd Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package graphml writes nodes and edges to spigo.graphml in the XML based GraphML format used by the freely available yEdit tool from yfiles.com

Index

Constants

This section is empty.

Variables

View Source
var Enabled bool

Enabled is set by command line flags to turn on graphml logging

Functions

func Close

func Close()

Close finishes off the file footer and closes it

func Setup

func Setup(filename string)

Setup opens the file and and writes the header

func Write

func Write(str string)

Write a string to the file

func WriteEdge

func WriteEdge(fromTo string)

WriteEdge logs and edge in the file given a space separated from and to name

func WriteNode

func WriteNode(nameService string)

WriteNode logs a node in the file given a space separated name and service type

Types

This section is empty.

Jump to

Keyboard shortcuts

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