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.


Edge type without bends

0 votes
I need an edge type without bends (straight lines with arrows from node to node),

This could prevent unwanted insertions of bends by yED.

How can I do this?
in Help by (550 points)
Ha, I just found out why I could not get any straight lines anymore. Whatever edge type I chose, I would always create at least one bend. It turned out that my problem was hidden under the menu point of 'Ansicht' ("view"?). There is an option called "orthogonal edges F10" and I might have activated it unconciously. By turning this option off, I was finally able to draw straight lines again! So, I think the placement of this menu point and its effects on drawing edges is a bit misleading. However, I am happy that I could get rid of this.

2 Answers

0 votes
There is no such edge type. You can use the Element Selection tool to select and delete all bends or bends of selected edges.
by [yWorks] (26.8k points)
0 votes
yEd allow us to customize the looks of nodes and edges and to use it as the default.

To customize the default edge type, first draw and edge and remove all the nubs to make it straight.

Second, in the 'Current Elements' palette you can see your new edge. Select and set it as 'Default'.

Afterwards, everytime you draw an edge it will use your new straight edge, until you change it again.

Hope it help!
Legal Disclosure | Privacy Policy