graph

package
v0.0.0-...-e9866e7 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Copyright (c) 2021 Ke Yuchang(aceking.ke@gmail.com). All rights reserved. Use of this source code is governed by MIT license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEdge

func AddEdge(graphInst *gographviz.Graph, from, to int, Label string) *gographviz.Graph

func DrawSimple

func DrawSimple()

func NewGraph

func NewGraph() *gographviz.Graph

func SaveGraph

func SaveGraph(path string, graph *gographviz.Graph) error

Types

type GraghNode

type GraghNode struct {
	StateNumber int
	Children    []string
}

func (*GraghNode) GenDotGraph

func (node *GraghNode) GenDotGraph(graphInst *gographviz.Graph) *gographviz.Graph

Jump to

Keyboard shortcuts

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