paulxu-cn / go-mod-graph-chart Goto Github PK
View Code? Open in Web Editor NEWDraw graphs through GO MOD GRAPH output
License: MIT License
Draw graphs through GO MOD GRAPH output
License: MIT License
首先感谢作者编写的这个可视化工具.
请问可以支持导出为svg文件吗?
现在查看页面右键另存是html
查看页面源码复制出来的svg标签内容另存为.svg
文件, 无法打开查看
希望可以执行命令时选项导出
go mod graph | gmchart -o xxx.svg
或者在页面右键另存格式可选为svg.
执行安装命令: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
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
工程过大,依赖在5000+,如果全部展开,则很难观察关键库的依赖关系。
如果能支持过滤功能,或者“展开/不展开”,则可以使图更聚焦我想要的内容。
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
{"code":"MethodNotAllowed","message":"GET is not allowed"}
点击链接后展示这个 麻烦看下是怎么回事
gomobile 项目生成的 aar 体积太大,希望能通过依赖体积可视化进行优化
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.