I don't know if u people ever watched AWS Power Hour Series on Twitch or not but there those technical trainers used to work with some diagrams it looked so cool to me; and now that i know that i can create such diagrams programmatically , cloud computing looks even more attractive to me
It would be great if you could get the file to generate from a metadata store and them wrap it in a pipeline that writes to your wiki. That way the documentation and diagrams are done as part of the agile development.
It's not uncommon or difficult to do this if you have a clean and consistent structured data source. In his program he is just defining the variables and objects in his code manually. What you would do instead is call a database/web API or load some file like a CSV and the script populates the objects as you define how you want source data expressed in your diagram and output it to whatever format you want on screen, a local file, or drop it off an a remote server. You could also make dynamic diagrams if for instance you use your VM/container hypervisor API and query a worker for its state and take the return data and translate it to define a diagram of its state in a style you desire. Have a linux server run the query on a time schedule that dumps the output to a html file on a webserver and make a dashboard or state snapshots for your customers without exposing the VM system to the customer portal directly. In your case for agile development its common to have a process that queries the version control system daily to show all push/pull/merge activity. That is what github does to draw its diagrams. You could also query the project and generate a hierarchy diagram. There are comment formats and libs that can scan the code itself and auto build library docs if you left good comments on your code in the right format. The python.org web manual is autogenerated this way from the comments in their classes and functions/methods to populate a formatted web template. I work in telco ISP implementation. We have a hardware configuration database we made that lets us define/edit our devices via a webform and custom APIs our order system can push templated products into and a matrix chart to define hierarchy when needed. When we want to install that hardware and the work order is generated for a field tech it fills out a document template with the right reference pictures of the equipment model on the order and a simple block diagram of what plugs into what based on the config database and matrix. Some variables like serial numbers or license keys are auto populated from another inventory DB if needed and It also has sections for custom instructions we can add to a single order or all orders for that parent client or specific site like local access person/admin to contact. The tech does not configure the device. Its plugged into a linux station in the warehouse that we say make whatever is plugged into port X configure it as defined by order Y. It runs tests that it can actually do that to what's plugged in then hits the config database and file servers for whatever it needs. It loads the device with files and fills out config templates we define on a Git server and pushes them into the device via console or network port and ship it. We also made a script that can update one or many devices in the field on a scheduler for scheduled upgrades or fired manually on a live install. If the order was made right the tech shows up and follows the instructions and it just works. Its actually an army of worker scripts on various systems. This vid would represent the microservice that generates diagrams that another system adds to a document package template or webpage.
I love this. I have a very large diagram that I need laid out in a geographical order. Would it be possible to use Latitude and longitude coordinates to make this happen? Or is there an easier way?
Process terminated with exit code 0, but no png diagram created. All installations were successfully performed (graphviz and diagrams). What could have happened?
If you implement logic in your python code you can make it dynamic. Every use-caste/situation would be different so it would be difficult to demonstrate in a video
I have a two cluster Cluster 1: A,B,C and Cluster 2: D,E,F . I want to connect in this order : A to D , B to F , C to E When I connect Cluster 1 to Cluster 2, Cluster 2 nodes/elements order changes. How to fix this issue
I don't think so, but you could make a request on their Git repo or you could try using custom and just use your own PNG images diagrams.mingrammer.com/docs/nodes/custom
This is an interesting approach to creating diagrams. I am wondering if anybody has developed the pennings for Express-G diagrams. If they could also support HTML hyperlinks this would be an added benefit. Do you know of anything like this? Note: Express-G is ISO 10303-11.
Can anyone tell me why I get a message that states pip is not recognized as the name of a cmdlet, function, script file or operable program? I apologize for the newb question, but any help would be greatly appreciated.
Anyone implented this in a django project and could share how to make it work? I.e. would it automatically save it to the media folder when running the code?
The Diagrams package demoed has many icon sets including AWS and Azure icons with some VMs, virtual containers, hosted apps, databases, and OSs. If you have a PNG image you would like to use most of the diagram libraries let you add custom icons or make your own sets.
I don't know if u people ever watched AWS Power Hour Series on Twitch or not but there those technical trainers used to work with some diagrams it looked so cool to me; and now that i know that i can create such diagrams programmatically , cloud computing looks even more attractive to me
exactly what i was looking for .. thank you for sharing
Wow, this was great. Going to give this a try.
Nice tool, thanks for the video. Next step, make it data driven and export automatically to PDF, PNG, etc
what file formats can you output these to? html, png, jpeg?
It would be great if you could get the file to generate from a metadata store and them wrap it in a pipeline that writes to your wiki. That way the documentation and diagrams are done as part of the agile development.
It's not uncommon or difficult to do this if you have a clean and consistent structured data source. In his program he is just defining the variables and objects in his code manually. What you would do instead is call a database/web API or load some file like a CSV and the script populates the objects as you define how you want source data expressed in your diagram and output it to whatever format you want on screen, a local file, or drop it off an a remote server. You could also make dynamic diagrams if for instance you use your VM/container hypervisor API and query a worker for its state and take the return data and translate it to define a diagram of its state in a style you desire. Have a linux server run the query on a time schedule that dumps the output to a html file on a webserver and make a dashboard or state snapshots for your customers without exposing the VM system to the customer portal directly. In your case for agile development its common to have a process that queries the version control system daily to show all push/pull/merge activity. That is what github does to draw its diagrams. You could also query the project and generate a hierarchy diagram. There are comment formats and libs that can scan the code itself and auto build library docs if you left good comments on your code in the right format. The python.org web manual is autogenerated this way from the comments in their classes and functions/methods to populate a formatted web template.
I work in telco ISP implementation. We have a hardware configuration database we made that lets us define/edit our devices via a webform and custom APIs our order system can push templated products into and a matrix chart to define hierarchy when needed. When we want to install that hardware and the work order is generated for a field tech it fills out a document template with the right reference pictures of the equipment model on the order and a simple block diagram of what plugs into what based on the config database and matrix. Some variables like serial numbers or license keys are auto populated from another inventory DB if needed and It also has sections for custom instructions we can add to a single order or all orders for that parent client or specific site like local access person/admin to contact. The tech does not configure the device. Its plugged into a linux station in the warehouse that we say make whatever is plugged into port X configure it as defined by order Y. It runs tests that it can actually do that to what's plugged in then hits the config database and file servers for whatever it needs. It loads the device with files and fills out config templates we define on a Git server and pushes them into the device via console or network port and ship it. We also made a script that can update one or many devices in the field on a scheduler for scheduled upgrades or fired manually on a live install. If the order was made right the tech shows up and follows the instructions and it just works. Its actually an army of worker scripts on various systems. This vid would represent the microservice that generates diagrams that another system adds to a document package template or webpage.
Awesome content! Thank you so much! It helps a lot!
I love this. I have a very large diagram that I need laid out in a geographical order. Would it be possible to use Latitude and longitude coordinates to make this happen? Or is there an easier way?
Process terminated with exit code 0, but no png diagram created. All installations were successfully performed (graphviz and diagrams). What could have happened?
Thanks. Is there any solution to make it interactive, dynamic?
If you implement logic in your python code you can make it dynamic. Every use-caste/situation would be different so it would be difficult to demonstrate in a video
Thank you so much ! trying to generate topology diagram from variable data input automatically
How to adjust border space of square of cluster to its icon inside it
Great video. Thank you
I have a two cluster Cluster 1: A,B,C and Cluster 2: D,E,F .
I want to connect in this order : A to D , B to F , C to E
When I connect Cluster 1 to Cluster 2, Cluster 2 nodes/elements order changes. How to fix this issue
when i write the same exact code and foillow all the steps i get an error
and it does not let me see the output
Whats the error? My guess is you need to install the dependancy of graphiz
Will diagrams support bpmn 2.0?
I don't think so, but you could make a request on their Git repo or you could try using custom and just use your own PNG images diagrams.mingrammer.com/docs/nodes/custom
Can we read input from text file and draw diagrams?
Yup! Look up python file i/o and see if you can make it happen! :)
This is an interesting approach to creating diagrams. I am wondering if anybody has developed the pennings for Express-G diagrams. If they could also support HTML hyperlinks this would be an added benefit. Do you know of anything like this? Note: Express-G is ISO 10303-11.
is it posible also for Azure ?
Can anyone tell me why I get a message that states pip is not recognized as the name of a cmdlet, function, script file or operable program? I apologize for the newb question, but any help would be greatly appreciated.
Try pip3 or try to google a command to install pip on your os
I liked for the algorithm
🍻🍻🍻
Have you used the Python Diagrams module?
no but good vid
No, but I'm going to check it out for Azure
hi great video! however im facing some issues i am unable to visualise the diagram after running the code on pycharm! do you have any advice?
I don't use pycharm. Do you get the same problem when running from just a shell? Did you install the prerequirements mentioned in the video?
Anyone implented this in a django project and could share how to make it work? I.e. would it automatically save it to the media folder when running the code?
How to reduce icon size
Has anybody been able to find nodes that can represent VMs inside of a Hypervisor?
The Diagrams package demoed has many icon sets including AWS and Azure icons with some VMs, virtual containers, hosted apps, databases, and OSs. If you have a PNG image you would like to use most of the diagram libraries let you add custom icons or make your own sets.
Very good! Congratulations! This will make my job easier