Draw graphs through GO MOD GRAPH output

Overview

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

Issues
  • 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

    opened by sunzip 10
  • 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

    opened by quan-ouyang 5
  • 这个怎么解决

    这个怎么解决

    执行安装命令: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

    opened by lfx923 1
  • 导出svg文件

    导出svg文件

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

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

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

    go mod graph | gmchart -o xxx.svg
    

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

    opened by yougg 0
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

Youngbin Han 4 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

Will Fantom 4 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

Go101 19 Mar 9, 2022
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

llgcode 915 Jun 18, 2022
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

Stephen Solka 458 Jun 15, 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

syumai 9 Jun 20, 2022
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

Luca Sepe 407 Jun 24, 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

null 0 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

Nicolas A Perez 0 Nov 5, 2021
null 37 May 4, 2022
K8s-graph - Kubernetes ownerReferences graphs

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

Amim Knabben 6 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.

Nikolay Dubina 58 Apr 22, 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

Qihoo 360 40 Apr 28, 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

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

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

Eliuk Blau 881 Jun 15, 2022
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

Factory 29 Jun 21, 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

null 1 Nov 30, 2021
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

Felix Becker 2 Nov 28, 2021
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

YummyOreo 1 Dec 26, 2021
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

YummyOreo 1 Dec 26, 2021
Golang Web server to draw cards from The Tarot of the Silicon Dawn

Silicon Dawn I made this so I can pull random cards on my phone and review the text. I originally designed this for use in Pythonista Then I rewrote i

Amelia Aronsohn 0 Dec 17, 2021
👷 Library for safely running groups of workers concurrently or consecutively that require input and output through channels

Examples Quickstart Multiple Go Workers Passing Fields Getting Started Pull in the dependency go get github.com/catmullet/go-workers Add the import to

Robert Catmull 144 Jun 2, 2022
a python command-line tool which draws basic graphs in the terminal

Termgraph A command-line tool that draws basic graphs in the terminal, written in Python. Graph types supported: Bar Graphs Color charts Multi-variabl

Marcus Kazmierczak 2.8k Jun 22, 2022
a sharded store to hold large IPLD graphs efficiently, packaged as location-transparent attachable CAR files, with mechanical sympathy

DAG store This README will be populated soon. In the meantime, please refer to the design document.

Filecoin 25 May 30, 2022
A program for creating a report on graphs from graphana

Программа для создания отчёта по графикам из графаны. Generate doc report from Grafana dashboard. Вам нужно перед первым запуском сконфигурировать tsc

null 0 Nov 2, 2021
OTF font with vertical bars for one-line ASCII spectrum analyzers, graphs, etc

graph-bars-font OTF font with vertical bars for one-line ASCII spectrum analyzers, graphs, etc. I didn't find anything similar on the net so I decided

Andrew Dunai 16 Apr 16, 2022
FlameScope is a visualization tool for exploring different time ranges as Flame Graphs.

FlameScope FlameScope is a visualization tool for exploring different time ranges as Flame Graphs, allowing quick analysis of performance issues such

Netflix, Inc. 2.7k Jun 23, 2022
Go (Golang) encrypted deep learning library; Fully homomorphic encryption over neural network graphs

DC DarkLantern A lantern is a portable case that protects light, A dark lantern is one who's light can be hidden at will. DC DarkLantern is a golang i

Raven 1 Dec 2, 2021
A tiny markup language for terminal output. Makes formatting output in CLI apps easier!

tml - Terminal Markup Language A Go module (and standalone binary) to make the output of coloured/formatted text in the terminal easier and more reada

Liam Galvin 680 Jun 27, 2022