mirror of https://github.com/mingrammer/diagrams
- Add Amazon Nova icon and AmazonNova class - Add AWS App Studio icon and AWSAppStudio class - Add Amazon CodeWhisperer icon and AmazonCodewhisperer class - Add AWS Neuron icon and AWSNeuron class - Update diagrams/aws/ml.py with new classes via autogen - Include test diagram for validation - Icons sourced from AWS Architecture Icons Q1 2025 package This enables users to create diagrams with the latest AWS AI/ML services including Amazon Nova, the new foundation model service.pull/1158/head
parent
c0a1758c72
commit
cfad8846ad
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.6 KiB |
@ -0,0 +1,29 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
"""
|
||||||
|
Test script for new AWS AI/ML service icons
|
||||||
|
Tests Amazon Nova, AWS App Studio, Amazon CodeWhisperer, and AWS Neuron
|
||||||
|
"""
|
||||||
|
|
||||||
|
from diagrams import Diagram
|
||||||
|
from diagrams.aws.ml import AmazonNova, AWSAppStudio, AmazonCodewhisperer, AWSNeuron
|
||||||
|
|
||||||
|
def test_nova_icons():
|
||||||
|
"""Test the new Nova and AI service icons"""
|
||||||
|
|
||||||
|
with Diagram("New AWS AI/ML Services", show=False, filename="nova_test"):
|
||||||
|
# Create instances of the new services
|
||||||
|
nova = AmazonNova("Amazon Nova")
|
||||||
|
app_studio = AWSAppStudio("AWS App Studio")
|
||||||
|
codewhisperer = AmazonCodewhisperer("CodeWhisperer")
|
||||||
|
neuron = AWSNeuron("AWS Neuron")
|
||||||
|
|
||||||
|
# Create a simple flow
|
||||||
|
nova >> app_studio >> codewhisperer >> neuron
|
||||||
|
|
||||||
|
print("✅ Test diagram created successfully!")
|
||||||
|
print("📁 Generated file: nova_test.png")
|
||||||
|
print("🔍 Please verify the icons render correctly in the diagram")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
test_nova_icons()
|
Loading…
Reference in new issue