graph

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package graph is used for generating the graph image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDotFilePath added in v1.0.4

func GetDotFilePath() string

GetDotFilePath gets the path of the dot file.

func GetImagePath

func GetImagePath() string

GetImagePath gets the path of the image file.

func InitGraph

func InitGraph(pluginType string, pluginsInfo Plugins) error

InitGraph initliazes the graph data structure and invokes generateGraph.

func InitGraphConfig added in v1.0.4

func InitGraphConfig(imgNamePrefix string)

InitGraphConfig initliazes output file names.

func UpdateGraph

func UpdateGraph(subgraphName, plugin, status, url string) error

UpdateGraph updates the plugin node with the status and url.

Types

type Plugin added in v1.0.4

type Plugin = types.Plugin

Plugin is of type types.Plugin

type Plugins added in v1.0.4

type Plugins = types.Plugins

Plugins is of type types.Plugins

Jump to

Keyboard shortcuts

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