1

Pretty recently, in the "General" section of shapes, the "connector with symbol" was added.

I was able to replace the email symbol with built-in shapes by editing the "Style" of the shape and setting shape=message to shape=cloud, for instance. But custom shapes (shapes in the Scratchpad) can't be referenced this way.

Now, how do I replace the pre-defined email symbol in the connector with a custom shape?

Example:

example

von_court
  • 152
  • 2
  • 10

1 Answers1

1

How and where did you create a custom shape? E.g if you take a custom shape described here:https://www.diagrams.net/doc/faq/custom-shapes, add it to canvas, press Ctrl+e to see the code, copy all shape related lines after "shape=" and paste it into e.g message shape, you should see message shape replaced with custom one.

Marija
  • 354
  • 1
  • 1
  • I just had to use the plain shape name ("mxgraph.signs.safety.no"), replace it with the "message", which is predefined for the "connection with shape" and then select the shape afterwards and style it as I want (in my case it was sketch and color red). Thanks for the hint! – von_court Aug 22 '22 at 14:07