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.

Categories

Edge thickness based on weight

0 votes
In Yed I have entered an Edge List. For the edges I want to make the thickness of the arrow based on the weight.

So set the conditions :

 if weight 0-1 --> thin line

if weight 1-2 --> thicker line

if weight 2-3 --> Tickest line

For some reason I cannot find this in the users manual or anywhere in the program. Can someone please help me ?

Thank you in advance !
in Help by

1 Answer

0 votes
Add a custom property of type Integer for your edges, then create a properties mapper configuration that maps your property to "Line Width". You probably need to use "Distinct Value", "Ranges of Value", or "Linear Scaling" instead of "Automatic" as "Conversion" to achieve the desired effect.
by [yWorks] (161k points)
Legal Disclosure | Privacy Policy
...