How do I know the name of a shape?

2,994 views
Skip to first unread message

Alpesh M

unread,
Jan 21, 2022, 8:04:08 AM1/21/22
to diagrams.net Q&A
I started to use draw.io. I got a template and I found some shapes interesting but I don't know how to get the name of those shapes. I read that I should select the shape and press Ctrl + E and I did that but there was nothing like 'shape=' in that edit style window.

Can anyone help?

diagrams.net Q&A

unread,
Jan 22, 2022, 3:03:11 AM1/22/22
to diagrams.net Q&A
What was in the edit style window?

Paul Robert Hayes

unread,
Feb 16, 2022, 2:38:08 PM2/16/22
to diagrams.net Q&A
If you're selected on the shape, start typing and it becomes the label.  If you double click, it opens a small text box, that i the label.  After that, you can se4lect the text and change fonts, etc on the format window at the right.  Either style works for me.

Paul Robert Hayes

unread,
Feb 16, 2022, 2:40:19 PM2/16/22
to diagrams.net Q&A
If you open the "edit style" on the format window, from the right click or the format window, then the little popup window shows things like:  shape=hexagon;....

Paul Robert Hayes

unread,
Feb 16, 2022, 2:42:10 PM2/16/22
to diagrams.net Q&A
More brutally, save the file as XML uncompressed, and look for the ID tag of name that matches your object, and then that XML tag should identify the shape name...

diagrams.net Q&A

unread,
Feb 17, 2022, 5:38:49 AM2/17/22
to diagrams.net Q&A
Open "More shapes" bottom left and tick "Labels"

labels.JPG

Reply all
Reply to author
Forward
0 new messages