diagrams icon indicating copy to clipboard operation
diagrams copied to clipboard

ability to add icons to the cluster label

Open givanovexpe opened this issue 4 years ago • 6 comments

givanovexpe avatar Apr 04 '20 00:04 givanovexpe

Hi. Could you please show an example diagram image of this? Thank you.

mingrammer avatar Sep 25 '20 09:09 mingrammer

is this an example of the author’s intended use?: https://github.com/givanovexpe/diagrams/blob/45ffea92543d1358b87cd759b35b766cc5086d0e/docs/guides/cluster.md#clusters-with-icons-in-the-label

wolfspyre avatar Sep 29 '20 04:09 wolfspyre

Another possible approach to this is to add the __enter__ and __exit__ methods to the Node class so that it can act as a context manager in the same fashion as the Cluster class, and allowing that to render the icon intersection the bounding box.

blarghmatey avatar Oct 29 '20 19:10 blarghmatey

Possible work-around: https://github.com/mingrammer/diagrams/issues/279#issuecomment-722004811

clayms avatar Nov 10 '20 14:11 clayms

what is missing to support this?

dan-ash avatar Dec 12 '20 06:12 dan-ash

please checkout my PR https://github.com/mingrammer/diagrams/pull/439

dan-ash avatar Jan 27 '21 22:01 dan-ash