aws-cloudformation / aws-cloudformation/cfn-lint
Support for colour and shape attributes in the Graph Class
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 643
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 41
Description
https://github.com/aws-cloudformation/cfn-python-lint/blob/853522ff0e4c977331ac677a47059cf96b6f3189/src/cfnlint/graph.py#L15
It would be super awesome if we could have different colours for the different types of links / edges e.g. Ref/GetAtt/Sub/DependsOn.
We have very complex nested stack templates and this would make reading them with the million lines better. Taking it a step further would allow different colours for object in the graph at its level or based on the number of "link" - like a heat map
Another approach would be if say there were 30 GetAtt between templates to collapse to a single heavier weighted line to reduce the diagram complexity - might only apply to nested stacks or heavy linked resources.
Appreciate the purpose of this lib is for validating CFN but the graph feature is useful for optimising complex templates.
It is possible in https://networkx.org/documentation/stable/reference/classes/multidigraph.html via Attributes
Contributor guide
Assessment
This issue has not been assessed yet.