# Custom shape node

**URL:** <https://forum.graphviz.org/t/custom-shape-node/435>\
**Category:** Uncategorized\
**Created:** [November 15, 2020, 12:13pm UTC](https://forum.graphviz.org/t/custom-shape-node/435 "2020-11-15T12:13:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![royaaghs](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@royaaghs](https://forum.graphviz.org/u/royaaghs)\
**Post date:** [November 15, 2020, 12:13pm UTC](https://forum.graphviz.org/t/custom-shape-node/435/1 "2020-11-15T12:13:41Z")

</div>

Hi,[https://banner2.cleanpng.com/20180601/aez/kisspng-transformer-symbol-electronics-clip-art-line-5b1191a22a76b5.9078598815278780501739.jpg](https://banner2.cleanpng.com/20180601/aez/kisspng-transformer-symbol-electronics-clip-art-line-5b1191a22a76b5.9078598815278780501739.jpg)

I need to use a custom shape(Transformer symbol), as you can see in the picture, as node shape. The image attribute is not helping me because I need the content be copied in the output. Is there any way that I can combine two circles to form my node shape? or any other approach?

---

<div class="post-metadata">

**Author:** ![steveroush](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@steveroush](https://forum.graphviz.org/u/steveroush)\
**Post date:** [November 15, 2020, 5:39pm UTC](https://forum.graphviz.org/t/custom-shape-node/435/2 "2020-11-15T17:39:18Z")

</div>

Can you show this symbol in context (with edges). Even a hand-drawn example would help.

---

<div class="post-metadata">

**Author:** ![royaaghs](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@royaaghs](https://forum.graphviz.org/u/royaaghs)\
**Post date:** [November 15, 2020, 7:29pm UTC](https://forum.graphviz.org/t/custom-shape-node/435/3 "2020-11-15T19:29:15Z")

</div>

![Untitled Diagram (2)](https://global.discourse-cdn.com/graphviz/original/1X/dab6a430f06d5a29608fc3248f0440ddbb1dacff.png)  
Thanks for the reply. I have something like this in my mind. The texts next to the symbol are node labels.

---

<div class="post-metadata">

**Author:** ![steveroush](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@steveroush](https://forum.graphviz.org/u/steveroush)\
**Post date:** [November 15, 2020, 9:58pm UTC](https://forum.graphviz.org/t/custom-shape-node/435/4 "2020-11-15T21:58:52Z")

</div>

Are you sure that an image wouldn’t work?

---

<div class="post-metadata">

**Author:** ![royaaghs](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@royaaghs](https://forum.graphviz.org/u/royaaghs)\
**Post date:** [November 16, 2020, 9:42am UTC](https://forum.graphviz.org/t/custom-shape-node/435/5 "2020-11-16T09:42:05Z")

</div>

The problem with image is that the content won’t be copied into the output and the image file should be available to the viewer. That’s why I’m looking for another approach

---

<div class="post-metadata">

**Author:** ![mark](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/mark/32/84_2.png) [@mark](https://forum.graphviz.org/u/mark)\
**Post date:** [November 16, 2020, 9:54am UTC](https://forum.graphviz.org/t/custom-shape-node/435/6 "2020-11-16T09:54:13Z")

</div>

Some output formats inline the image into the output (e.g. PNG/BMP/PDF does). I think -Tsvg:cairo inlines images too.
