Making link go around GoSimpleNode


#1

Hello. I have a class that inherites from GoSimple node… i override the CreateIcon to return a Rounded rectangle and CreatePort to create rectangular incoming and outgoing ports… in my graph i can have transitions on the same state… and i would like to be able to make the link go around the state completely and all i managed to do for now is give the link a big curve so it goes over the state …but it still touches the state …is there a simple way to do that? i use a Bezier stroke style and AvoidNodes is true …


#2

AvoidsNodes doesn’t have any effect unless the links are Orthogonal, which effectively means you can’t use Bezier style links.
But with Bezier style curves you can increase the Curviness property value, or make them negative.