Movatterモバイル変換


[0]ホーム

URL:


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

支持简单yaml 依赖描述,转换DAG、环检测、(广、深、topsort)遍历、可视化

License

NotificationsYou must be signed in to change notification settings

githhhh/yamldag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简单格式yaml 依赖描述转换DAG(有向无环图)可视化

  • 环检测,输出环 task_a=>task_b=>task_c=>task_a
  • 如果是有向无环图 按依赖顺序输出所有节点、深度优先搜索、广度优先搜索遍历所有节点
  • 可视化DAG 生成graph.dot 、graph.svg

使用方法

simple.yaml

# a simple yaml exampletask_a:  task_b:    task_c:      task_a:  task_d:
gem install yamldagyamldag path/to/simple.yaml

输出可视化文件 graph.dot 、graph.svg

.dot 文件预览:

brew install xdotxdot graph.dot

About

支持简单yaml 依赖描述,转换DAG、环检测、(广、深、topsort)遍历、可视化

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp