You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing the application with a substantial number of devices, it was encountered an issue where the generated graph size exceeded the capacity for labels and rendering. This prompts the question: What is the maximum size of an inventory file that the app can effectively handle?
Error generated after running the command before, was that a bunch of lines with different node code, one example is:
Warning: node '85152ec6b7ad492fb1fbc7d7a2cf5d76', graph 'test_diagram\r\n2023 GNU GPL v3.0 - mbrav https://github.com/mbrav/ansible-inventory-diagram' size too small for label\r\nunexpected case in locate_endpoint\r\nunexpected case in locate_endpoint\r\ndot: graph is too large for cairo-renderer bitmaps. Scaling by 0.642163 to fit\r\n"]
The text was updated successfully, but these errors were encountered:
Can you provide the the inventory file you are using? Note, that the inventory file must be in json format and generated using Ansible's ansible-inventory command. It is also possible that there is a limitation in the Diagrams library.
Investigate capacity for Large Inventory Files
While testing the application with a substantial number of devices, it was encountered an issue where the generated graph size exceeded the capacity for labels and rendering. This prompts the question: What is the maximum size of an inventory file that the app can effectively handle?
Command to execute script used:
py -3.9 diagram\main.py -i .\inventory\inventory.json -o png -n test_diagram -f test_diagram
Error generated after running the command before, was that a bunch of lines with different node code, one example is:
Warning: node '85152ec6b7ad492fb1fbc7d7a2cf5d76', graph 'test_diagram\r\n2023 GNU GPL v3.0 - mbrav https://github.com/mbrav/ansible-inventory-diagram' size too small for label\r\nunexpected case in locate_endpoint\r\nunexpected case in locate_endpoint\r\ndot: graph is too large for cairo-renderer bitmaps. Scaling by 0.642163 to fit\r\n"]
The text was updated successfully, but these errors were encountered: