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.


background setting

0 votes
please, give me an advice. I want to set a custom background (PNG image) for each diagram. Ideally, the background should be saved with the diagram. I need to draw a diagram of a computer network and active elements in the floor plans of buildings. I can't set it up so that the background is saved together with the diagram (png image). I still have one background, although I will open another diagram, which should have a different background. please advise how to do it so that I have 4 floors of a building, 4 different backgrounds and a different diagram for each. Simply described. I will open the 1st floor and the 1st floor giagram will open for me, including the background of the 1st floor. other files will be 2nd floor, 3rd floor and 4th floor. thank you
in Help by

1 Answer

0 votes

Unfortunately, document specific backgrounds are not really supported in yEd.

Nevertheless, you might be able to workaround this shortcoming in the following way:

  1. Create a group node.
  2. In the properties view in yEd's lower right corner, change the group label's "Placement" to "Internal: Center".
  3. In the properties view in yEd's lower right corner, click into the "Icon Properties" field of the label.
  4. In the icon properties, choose the desired background as "Icon".
  5. Remove any text from the group label.
  6. Resize the group node to enclose its label's background icon.
  7. Add your actual diagram elements as child elements to the background group.
by [yWorks] (138k points)
Legal Disclosure | Privacy Policy