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 to display Edge Text Clearly

0 votes
Hi Thomas:

I'm working with some guys who are creating their version of an Ontology in PowerPoint. I organized their information in this spreadsheet:


The Edge Text to Node Pair is NOT clear.

Previously, you told me to use Edge routing to get clearer Edge Text. I tried every variant and all are messy.
Here is the GraphmMLfile


The Ontology is for ~800 OT cybersecurity terms and is very complex.

I'd appreciate any and alls suggestions.

Cheers, Bill
in Help by (410 points)

1 Answer

0 votes
Best answer

Your sample graph is very compact and has little to no room for labels. Changing edge paths without changing node positions (which is what edge routing algorithms do) cannot free up more space for labels in this specific case.

You will need to create a less compact arrangement with enough space for your labels.

The easiest way to do that is to run the hierarchic layout algorithm with edge labeling enabled. I.e. use the algorithm's default settings except for the labeling options below:

Resulting diagram.

by [yWorks] (160k points)
selected by

Thanks for your timely reply.

It works quite well.

I really like yEd and appreciate your willingness to help people like me find the neat features like this Edge placement and the many other suggestions you have made in a timely, clear, and concise manner.

I did NOT find how to mark this reply as Best. But, I'll keep looking.

Cheers, Bill
Legal Disclosure | Privacy Policy