Commit graph

24 commits

Author SHA1 Message Date
Mohamed El Mouctar Haidara
389e6ffda3
Initial support for mermaidjs (#144)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com>
2023-05-13 14:41:07 +02:00
Mohamed El Mouctar Haidara
bc318c5814
feat: Refactor the rendering part to make it more extensible (#143)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com>
2023-05-10 18:45:57 +02:00
Mohamed El Mouctar Haidara
75f26a9ea2
feat: Add a flag to group roles by name - Revert the old behavior (#122) 2022-08-20 14:35:27 +02:00
Mohamed El Mouctar Haidara
e7f23daee7
fix: Roles usages and do not use multiple edges for role tasks (#120) 2022-08-17 22:20:55 +02:00
Mohamed El Mouctar Haidara
af67fd5f60
feat: Add support multiple playbooks in one graph (#118) 2022-08-14 22:59:46 +02:00
Mohamed El Mouctar Haidara
f3dbfd0ed1
fix: Render a single node when multiple playbooks use the same role (#111)
* fix: Render a single node when multiple playbooks use the same role

Related to #110
2022-07-02 11:40:00 +02:00
Mohamed El Mouctar Haidara
2d5f70d6f6
refactor(internal): Remove useless EdgeNode (#109) 2022-06-18 00:11:16 +02:00
Mohamed El Mouctar HAIDARA
89a526d31a fix: some small type hints fixes 2022-02-12 16:40:51 +01:00
Mohamed El Mouctar Haidara
0e16ceb53e
refactor: format the code with black (#102) 2022-02-07 23:41:13 +01:00
Mohamed El Mouctar Haidara
826c6ef284
feat: Open node file when double-clicking on it from a browser (#79) 2022-01-29 14:47:09 +01:00
Mohamed El Mouctar Haidara
2aef31363e Use the correct LICENSE GPLv3 (#100)
This is something I didn't really check when starting this project. Since this project is based on Ansible's internals and Ansible uses GPLv3, from my understanding, I should use GPLv3 too.

So this is it
2022-01-17 00:12:32 +01:00
Mohamed El Mouctar HAIDARA
f9e6452b5a refactor: Move tasks method to CompositeTasksNode 2022-01-09 20:31:59 +01:00
Mohamed El Mouctar Haidara
1f2f2be408
fix: Properly manage include in pre_tasks and post_tasks (#97) 2022-01-06 23:49:52 +01:00
Mohamed El Mouctar Haidara
3c4961dec0
fix: Block can only contain tasks regardless of the context (#96)
Fixes #95
2022-01-01 09:47:25 +01:00
Mohamed El Mouctar Haidara
0dc6034992
feat: Parser improvements + tests (#89) 2021-10-03 16:04:08 +02:00
Mohamed El Mouctar HAIDARA
0c415b2874 fix: Replace Node.__str__ by __repr__ 2021-09-29 10:11:09 +02:00
Mohamed El Mouctar Haidara
77d3f2bd6a
feat: Add ability do distinguish the explicit block on the graph (#86) 2021-09-26 18:18:09 +02:00
Mohamed El Mouctar HAIDARA
fd45aedfe0 refactor: Rename node label to name 2021-09-23 08:54:49 +02:00
Mohamed El Mouctar HAIDARA
a86aa6f9c1 fix: Remove counter from parser. It's the renderer's problem 2021-09-23 08:54:49 +02:00
Mohamed El Mouctar HAIDARA
56e80f2a29 Revert "fix: Add label prefix to TaskNode and RoleNode"
This reverts commit 565f5e8f8d.
2021-09-22 20:29:06 +02:00
Mohamed El Mouctar HAIDARA
565f5e8f8d fix: Add label prefix to TaskNode and RoleNode 2021-09-22 19:31:54 +02:00
Mohamed El Mouctar HAIDARA
7a92fe8e7a chore: type annotations + update signatures 2021-09-19 19:22:23 +02:00
Mohamed El Mouctar Haidara
dd0c4e5db2
feat: Consider inclue_role as normal role instead of task (#82) 2021-09-15 22:29:19 +02:00
Mohamed El Mouctar Haidara
0c1094bdc2
Refactor the grapher. Part 2 (#81) 2021-08-29 18:43:27 +02:00