Node names doesn't support hyphens "-"
complete
Krzysztof Sołtys
Node names doesn't support "-".
Let's say that we have a simple diagram like:
// Define groups and nodes
CloudFront [icon: aws-CloudFront]
User [icon: user]
Canvas [icon: android, color: green]
bucket1 [icon: aws-simple-storage-service]
bucket2 [icon: aws-simple-storage-service]
bucket3 [icon: aws-simple-storage-service]
// Define connections
User, Canvas > CloudFront <> bucket1, bucket2, bucket3
But instead generic name I would like to use a specific bucket name like "my-s3-bucket-dev".
So far, this will cause a syntax error.
Shin Kim
complete
Hyphens are now allowed in node names!
Shin Kim
Hi Krzysztof – Thank you for the feedback. You're right, "-" are not allowed in node names. This is because "-" are used to represent solid line connections in cloud architecture diagrams. For example, "bucket1-bucket2" would create a solid line (without arrowheads) between the nodes "bucket1" and "bucket2".
However "_" (underscores) are allowed in names. Would that work as a workaround in your use case?