pg

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package pg (plugin graph) is used for generating the graph image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateGraph

func GenerateGraph() error

GenerateGraph generates an input `.dot` file based on the fileNoExt name, and then generates an `.svg` image output file as fileNoExt.svg.

func GetImagePath

func GetImagePath() string

GetImagePath returns the SVG image location.

func InitGraph

func InitGraph(pluginType string, pluginsInfo map[string]*pluginmanager.PluginAttributes) error

InitGraph initliazes the graph data structure and invokes generateGraph.

func UpdateGraph

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

UpdateGraph updates the plugin node with the status and url.

Types

This section is empty.

Jump to

Keyboard shortcuts

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