This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Is there a way to avoid the connection bridge under specific conditions, for instance if the connection line's pathfinder is a StraightLinePathfinder, then ignore/remove underlying bridge? Regards, Michael |
|
|
Hello Michael Thanks for this suggestion. I've implemented a hook for you which will be available in the next nightly build. The next nightly build will be available at around 1200GMT which you'll be able to download from your account page. When you get the next nightly build, Create a new class that extends CorneredPathBuilder. Override the CanDrawBridge method and place your custom logic here. This method gets the 2 connections involved in the intersection. If either of these are a straight line, you can return false to indicate that a bridge won't be drawn, otherwise return true. Then in your style code, search for CorneredPathBuilder, and replace this with an instance of your custom class instead. Let me know if you need further help with this. -Jason Fauchelle |
|
|
Hi' Jason Just what I needed :-) Thanks a lot for the great support! Regards, Michael |
|