Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playground: PNG export doesn't include images #1227

Closed
a-h opened this issue Apr 19, 2023 · 1 comment
Closed

playground: PNG export doesn't include images #1227

a-h opened this issue Apr 19, 2023 · 1 comment

Comments

@a-h
Copy link

a-h commented Apr 19, 2023

When I go into the playground and export the diagram as PNG, the images are not included.

direction: right

s3: S3
s3: {
  icon: https://icons.terrastruct.com/aws%2FStorage%2FAmazon-Simple-Storage-Service-S3.svg
}
onUpload: {
  icon: https://icons.terrastruct.com/aws%2FCompute%2FAWS-Lambda.svg
}
sqs: SQS
sqs: {
  icon: https://icons.terrastruct.com/aws%2FApplication%20Integration%2FAmazon-Simple-Queue-Service-SQS.svg
}
processor: Processor
processor: {
  icon: https://icons.terrastruct.com/aws%2FCompute%2FAWS-Lambda.svg
}

api: API
api: {
  icon: https://icons.terrastruct.com/tech%2Fservers.svg
}

s3 -> onUpload: Flat file
onUpload -> sqs: Individual records
sqs -> processor: Controlled\nbatches/concurrency
processor -> api: API calls

https://play.d2lang.com/?script=rJM9a_swEMZ3f4pbPDr-Y28a_hAChkCHBFG6dLnI10QgS-qd7NKWfveixHmhUwOdfC_4OZ7fgy7xKuCMsyikVaDb4-ezAMhEFRxSiqLqOneySMSMkng0aWHCUOOblE2nU2DcU9l0ywE_gq-0HaKjap5XmniyhirdLmTaF19F8I_RBezvPbQKQxzT8dCTrh5w2PU4S8qrKNBbfSruk13G6KzBDKNs_q19oj3P3Q9H25HGGz9bPV-PHAyJBFawOZe3wz-zWWC0Cpab9an4rW4icyibTognYjlrSQvVf7iG0TlM8GIdXQLK-yPQte_tZPsRHTCZwL1k0Hl943IVfOKQH_uz32EyB5LaBG9GZvLm_Qok_3c2Agadk-I7AAD__w%3D%3D&layout=elk&

d2 (1)

@cyborg-ts cyborg-ts added this to D2 Apr 19, 2023
@a-h
Copy link
Author

a-h commented Apr 19, 2023

This is a duplicate (with an example of terrastruct/d2-playground#17

@a-h a-h closed this as completed Apr 19, 2023
@github-project-automation github-project-automation bot moved this to Done in D2 Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant