Skip to content

将Excel任务表中的关系转换成Markdown的mermaid图,方便使用Markdown工具直观地查看任务依赖

License

Notifications You must be signed in to change notification settings

WittonBell/excelTask2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

将Excel任务表中的关系转换成Markdown的mermaid图,方便使用Markdown工具直观地查看任务依赖。 命令格式:excelTask2md -hr [字段所在行号] -dr [数据起始行号] [-nc] -id [任务ID字段名] -t [任务标题字段名] -pid [前置任务ID字段名] -o <输出文件> <Excel文件路径>

Excel表格式如下:

TaskID TaskTitle PreTask
10 任务10 0
20 任务20 0
11 任务11 10
21 任务21 20

生成如下所示mermaid图:

graph TB
     subgraph  
    0:无效任务ID-->10:任务10
    subgraph  
    10:任务10-->11:任务11
    end
    0:无效任务ID-->20:任务20
    subgraph  
    20:任务20-->21:任务21
    end
    end
Loading

About

将Excel任务表中的关系转换成Markdown的mermaid图,方便使用Markdown工具直观地查看任务依赖

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages