azf-diagram
v1.0.4
Published
Template for creating Node.js projects including docs and a deploy pipeline
Downloads
33
Readme
Azure Diagram Generator (azf-diagram)
Azure Diagram Generator is a javascript tool that generates a draw.io diagram for your Azure Functions projects.
This library only supports Azure Function v3 model
This repository is part of the Open Source Jam (2023-11-18 to 2023-11-19), located in Alicante.
Installation
Use the Node Package Manager npm to install azf-diagram
npm install azf-diagram -g
Usage
Install and execute the following command in your Azure functions project to generate the diagram:
azf-diagram -p ./
| Params | Required | Data | | ------ | -------- | ---------------------------------------- | | p | true | The path to your Azure functions project |
The output should be generated on a file named diagram.drawio
, containing the necessary information
Improvements
Due to the small period of time of developing this tool, we have problem with collision among the generated data. To avoid this, when importing to draw.io, reorder the diagram as you want.
Before:
After: