-
Notifications
You must be signed in to change notification settings - Fork 202
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
node render does not support custom images #9
Comments
Good catch! We should absolutely find a way intuitively use images from outside the library. I have an idea on how to do this but wanna release an update before I tackle it. Thanks for calling attention to this. |
Also, the PubSub icon is under gcp.Analytics.Pubsub() |
hi, i have the same issue |
Any updates on this? Just ran into the issue, myself |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Small usability issue. I'm attempting to render a diagram that uses the GCP Pubsub icon (which the asset package does not appear to have).
I thought I might be able to
diagram.NewNode(diagram.Icon("pubsub.png")).Label("QueueName")
but I noticed that node render expects the image path to be in the asset box. Would it be possible to fall back to local disk? Or maybe better yet provide aNodeOption
likeCustomImage
to support custom icons?The text was updated successfully, but these errors were encountered: