News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Stop direction of arc from auto-shifting or auto-switching

Started by VMey, October 24, 2014, 06:58:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

VMey

Hello,

There's some code or shapesheet formula that causes our arcs to decide for us whether they should be arcing over or arcing under.  This is frustrating when you've nicely positioned an arrow, using connection points between two shapes, and you want to move one shape.  See attached image as demo. 

I'm trying to get it to just reposition the endpoint and pivot at the origin point rather than force an inversion.

I've also attached the shape data and macro associated.

VMey

Adding macro data.  There was a 2 attachment restriction to original post

Yacine

Very interesting problem - I'll definitely take some time to check your uploads.
But beside the technical challenge, why don't you trust visio's capabilities to route properly the connectors?
Yacine

vojo

BTW...you can always edit the curve, pick the control point of the arc and move as you wish / change the eccentricity of the arc as you as you wish.

Though I have never done this, you could take the arc shape....add some intelligence to it to set the arc control point / eccentricity

For example
    if endx > beginx, set control point NW of midpoint, set control point SE of midpoint

Yacine

I haven't really been through your code yet, but from the image uploaded, I think I can recognise that the connection points are not properly formated.
Set the directionX and -Y to proper values to get the connectors route outward.
Yacine

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 206 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1060KB.
Tokens: post-login.
Cache hits: 13: 0.00221s for 26,733 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]