Draw graphs through GO MOD GRAPH output

English | 中文

go-mod-graph-chart

build chart by go mod graph output

Install

$ go get -u github.com/PaulXu-cn/go-mod-graph-chart/gmchart

Usage

$ cd goProject
$ go mod graph | gmchart

The program will start a http server and open the url in default browser.

show

Change & Rebuild

If you has changed js code, the front-end project needs to be rebuilt,and then go install

$ npm run build 
$ go install ./gmchart

License

MIT

Comments
  • panic : runtime error: invalid memory address or nil pointer dereference

    panic : runtime error: invalid memory address or nil pointer dereference

    go mod graph | gmchart panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x8 pc=0x3d4a1d]

    goroutine 1 [running]: github.com/PaulXu-cn/go-mod-graph-chart/gosrc.BuildTree(0xc00024a000, 0x1a796, 0x209, 0xc0002c30e8, 0x201) C:/Users/xxx.sun/go/pkg/mod/github.com/!paul!xu-cn/[email protected]/gosrc/treeutil.go:103 +0x87d main.main() C:/Users/xxx.sun/go/pkg/mod/github.com/!paul!xu-cn/[email protected]/gmchart/main.go:103 +0x571

  • panic: runtime error: slice bounds out of range [:-1]

    panic: runtime error: slice bounds out of range [:-1]

    panic: runtime error: slice bounds out of range [:-1]

    goroutine 1 [running]: github.com/PaulXu-cn/go-mod-graph-chart/gosrc.BuildTree(0x1256c000, 0x3eedd, 0x3a2, 0x12620934, 0x201, 0x12630000) C:/Users/admin/go/pkg/mod/github.com/!paul!xu-cn/[email protected]/gosrc/treeutil.go:85 +0xba9 main.main() C:/Users/admin/go/pkg/mod/github.com/!paul!xu-cn/[email protected]/gmchart/main.go:103 +0x415

  • 这个怎么解决

    这个怎么解决

    执行安装命令:go get -u github.com/PaulXu-cn/go-mod-graph-chart/gmchart 报错:package google.golang.org/protobuf/proto imports google.golang.org/protobuf/proto: import cycle not allowed

  • Added go-recipes badge

    Added go-recipes badge

    Hello, Hi!! 👋🏻

    I like your project and I think broader Go community will benefit from it too.

    Thus, I added it to the curated list of Go tools.

    I hope this badge will serve as a mark of quality and appreciation to your project.

    Once again, thank you for your work!!

    ❤️

    -- Nikolay

  • 导出svg文件

    导出svg文件

    首先感谢作者编写的这个可视化工具.

    请问可以支持导出为svg文件吗?
    现在查看页面右键另存是html
    查看页面源码复制出来的svg标签内容另存为.svg文件, 无法打开查看

    希望可以执行命令时选项导出

    go mod graph | gmchart -o xxx.svg
    

    或者在页面右键另存格式可选为svg.

Easily customizable Social image (or Open graph image) generator

fancycard Easily customizable Social image (or Open graph image) generator Built with Go, Gin, GoQuery and Chromedp Build & Run Simply, Clone this rep

Jan 14, 2022
A (very) simple graph package that utilizes the Generics features in Go 1.18

A (very) simple graph package that utilizes the Generics features in Go 1.18

May 11, 2022
A Go skia binding based on skia C library through cgo

go-skia is a Go skia binding based on skia C library through cgo. Note: the project is still in early stage, and it only supports Linux-amd64 now. The

Nov 7, 2022
2D rendering for different output (raster, pdf, svg)
2D rendering for different output (raster, pdf, svg)

draw2d Package draw2d is a go 2D vector graphics library with support for multiple outputs such as images (draw2d), pdf documents (draw2dpdf), opengl

Dec 25, 2022
a tool to output images as RGB ANSI graphics on the terminal
a tool to output images as RGB ANSI graphics on the terminal

imgcat Tool to output images in the terminal. Built with bubbletea install homebrew brew install trashhalo/homebrew-brews/imgcat prebuilt packages Pr

Dec 28, 2022
A command to output longified ascii art.

longify A command to output longified ascii art. Inspired by Tweet from @sheepla: https://twitter.com/Sheeeeepla/status/1522199846870196225 Installati

Sep 12, 2022
Converts 'go mod graph' output into Graphviz's DOT language
Converts 'go mod graph' output into Graphviz's DOT language

modgv Converts 'go mod graph' output into GraphViz's DOT language. takes no options or arguments it reads the output generated by “go mod graph” on st

Dec 22, 2022
The go mod init command initializes and writes a new go.mod file in the current directory

go mod: The go mod init command initializes and writes a new go.mod file in the current directory, in effect creating a new module rooted at the curre

Nov 21, 2021
A Connected Graph Generator tool that construct graphs of some given size

graph graph is a Connected Graph Generator tool that construct graphs of some given size. Notice that it generates all possible connected, undirected

Nov 5, 2021
Dec 13, 2022
K8s-graph - Kubernetes ownerReferences graphs
K8s-graph - Kubernetes ownerReferences graphs

k8s-graph Kubernetes ownerReferences dependency graph. Running Suppose you have

May 12, 2022
JSONL graph tools - Graph is represented as JSONL of nodes and edges.

JSONL graph tools - Graph is represented as JSONL of nodes and edges.

Sep 27, 2022
The DGL Operator makes it easy to run Deep Graph Library (DGL) graph neural network training on Kubernetes

DGL Operator The DGL Operator makes it easy to run Deep Graph Library (DGL) graph neural network distributed or non-distributed training on Kubernetes

Dec 19, 2022
This library aims to make it easier to interact with Ethereum through de Go programming language by adding a layer of abstraction through a new client on top of the go-ethereum library.

Simple ethereum client Simple ethereum client aims to make it easier for the developers to interact with Ethereum through a new layer of abstraction t

May 1, 2022
Draw images in your ANSI terminal with true color
Draw images in your ANSI terminal with true color

___ _____ ____ / _ \/ _/ |/_/ /____ ______ _ Made with love by Eliuk Blau / ___// /_> </ __/ -_) __/ ' \ https://github.com/eliukblau/pix

Dec 14, 2022
Use Redis' MONITOR to draw things in a terminal
Use Redis' MONITOR to draw things in a terminal

Redis Top Redistop uses MONITOR to watch Redis commands and shows per command and per host statistics. Because MONITOR streams back all commands, its

Aug 30, 2022
This package provides Go (golang) types and helper functions to do some basic but useful things with mxGraph diagrams in XML, which is most famously used by app.diagrams.net, the new name of draw.io.

Go Draw - Golang MX This package provides types and helper functions to do some basic but useful things with mxGraph diagrams in XML, which is most fa

Aug 30, 2022
A cross platform single binary tool to work with draw io files

SNIPO SNIPIO is a cross platform single binary tool to work with draw io files With snipio you can do the following operations: list all layers in a d

Jan 7, 2023
A note taking app, that you can draw in, syncs to the cloud, and is on most platforms!

About NotDraw About · How to contribute · How to run · Trello · FAQ This is achived because I dont want to work on it anymore Structure Codebase Descr

Jul 11, 2022
A note taking app, that you can draw in, syncs to the cloud, and is on most platforms!

About NoteDraw About · How to contribute · How to run Structure Codebase Description SRC The sorce code for the client side (Go) Branches Only Ones th

Jul 11, 2022