Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LinWanCen/draw-graph

Repository files navigation

draw-graph

Build Version Downloads

Plugin description 插件介绍

Method call usage graph and maven dependency graph, click to navigate

生成 方法调用图 和 Maven 依赖图,点击跳转

  • Java, Kotlin, Groovy, Scala
  • C/C++/OC, Python, Go, Rust, Ruby
  • JS/TS, PHP, Regexp, JSON, Yaml

English Desc

How to Use

One file call graph or all pom.xml dep graph:

  1. Open Graph ToolWindow at Right
  2. Open pom.xml/.java/.py... file

Multi file call graph or partial pom.xml dep graph:

  1. Select multi files in the same language
  2. Open Right Click Menu
  3. Select Method Call/Usage Graph

RegExp string graph:

  1. Open Right Click Menu at RegExp string
  2. Select Regexp, JSON, yaml Graph or HTML

Install Graphviz and set xx/bin to env Path for PlantUML and Graphviz.

About

2020.2+ is jcef(chrome) to support outline mermaid.js,
2020.1- is JavaFx WebView, is need set jcef-jbr and use online to see Mermaid.

My Plugin
  • Show doc comment in the Project view Tree, line End, json etc.: Show Comment
  • show line count for file / method, show children count for dir in project view:Line Num
  • Method call usage graph and maven dependency graph: Draw Graph
  • Find author/comment of multiple files or lines and export Find: Find Author
  • Auto sync coverage and capture coverage during debug: Sync Coverage

中文描述

用法

单个文件调用图 或 所有 pom.xml 依赖图:

  1. 打开右边的工具栏
  2. 打开 pom.xml/.java/.py 等文件

多个文件调用图 或 部分 pom.xml 依赖图:

  1. 在文件树选择多个同语言的文件打开右键菜单
  2. 选择方法(被)调用图

字符串正则表达式图

  1. 在正则表达式文本上打开右键菜单
  2. 选择正则, JSON, yaml 图或 HTML

安装 Graphviz 并设置 bin 目录为环境变量以便使用 PlantUML 和 Graphviz。

关于

2020.2 默认 jcef(chrome) 且支持离线 mermaid.js,
2020.1 默认 JavaFx WebView,需更换设置 jcef-jbr 且用在线模式才能看到 Mermaid 图。

我的项目
  • 在文件树、行末、JSON 显示注释:Show Comment
  • 在文件树显示行数、文件数:Line Num
  • 生成 方法调用图 和 Maven 依赖图:Draw Graph
  • 查找多个文件或行的作者 与 导出搜索:Find Author
  • 自动同步覆盖率 和 调试中抓取覆盖率:Sync Coverage

支持

如果对你有所帮助,可以通过群或文章等形式分享给大家,在插件市场好评, 或者给本项目 本项目 GitHub 主页 一个 Star,您的支持是项目前进的动力。

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "draw-graph" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Changelog 更新说明


Plugin based on the IntelliJ Platform Plugin Template.

About

IDEA插件:生成 方法调用图 和 Maven依赖图

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /