Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

How can I use my own node symbols in yEd?

+4 votes
asked Sep 22, 2011 in Help by yEd user (3,320 points)
Hi!
I have created some SVG symbols in order to use it with yed. I kept the color, outline, etc. undefined, so that yed can change it. Unfortunately the color, outline, etc. of the symobls are still not affected by the properties settings in yed. Could you add this feature?
Add a feature request! :-)

1 Answer

+6 votes
 
Best answer

yEd provides several different pre-defined node shapes and symbols, but a specific symbol for a particular diagram may be missing. It is not possible to add new geometric nodes, but you can define your own node template based on an image or preferably on an SVG file and add it to user-defined sections in the palette. All you need is a suitable image or SVG file of your custom shape. Using an SVG file has the advantage that your shape will still look good at high zoom levels.

Importing your own symbols

There are several possibilities to import your own symbols:

  • In the context menu of a user-defined palette section, you can use the 'Import Symbols...' menu entry for importing your image/SVG files. In the file chooser dialog that opens, you can import several images at once by selecting multiple files.
  • In the same context menu, you can use the 'IconFinder...' menu entry for importing image files directly from the IconFinder icon search engine.
  • On Windows and Mac OS, you can drag image files from the Windows Explorer and the Mac OS Finder, respectively, into the currently open editor window. This creates a new node that uses the dragged image/SVG file as its representation.
    In a second step you can add the representation to a user-defined palette section via the menu entry 'Add to Palette' from the node's context menu.
image
Context menu of a user-defined palette section

You can also open the IconFinder dialog via the Palette Manager dialog (menu entry 'Manage Palette...' in the aforementioned context menu).

 

answered Sep 22, 2011 by thomas [yWorks] (23,400 points)
edited Nov 15, 2017 by thomas
No, this feature is not unusable. There are lots and lots of SVG documents that display just fine in yEd - and that includes InkScape generated SVG documents!

Start a new thread, include the SVG document in question, mention the exact version of yEd you are using and I will look into the problem.
I stumpled upon a similar problem with SVG. I asked for help here: http://yed.yworks.com/support/qa/4657/custom-svg-symbol-made-in-svg-is-being-clipped
I'm having exactly the same problem working with my own imported SVG images: edges are connected to the center of the images, not the sides.  I'm unable to find any setting for "Use Image Alpha" as suggested, though.  I guess my version of the software is about 3 years older than the one referred to above.  Any guidance on how to make the edges behave properly on the latest version?

Select your SVG node and enabled or disable "Clip on Outline" in the properties view in yEd's lower right corner:

This feature has been available since yEd 3.7 (which has been released in 2011).

Using the "Local Network" symbol from yEd's "Computer Network" palette section as an example:

Imprint | Privacy Policy