Forum Discussion

keldsor's avatar
keldsor
Brass Contributor
Nov 04, 2022
Solved

Change the connecting point of an arrow head ?

I have made some Shapes on a WorkSheet - like this: I want to switch the arrows so they are NOT crossing each other and it should be the right (the head) end of the arrows that should be switc...
  • PeterBartholomew1's avatar
    Nov 06, 2022

    keldsor 

    I had wondered whether to send you a copy of a program I wrote years ago (2014) to analyse diagrams and plot fragments of the graph dynamically.  The problem is that it would take me a week to remember and get to grips with the techniques I used, so I am not sure how you would fare.

     

    It uses Class modules for the Graph object itself and for the GraphNode and GraphEdge collections that comprise it.  In your case, that might mean having a Class 'FamilyTree' with methods to Add people as instances of the Person class.  Each oPerson ('o' for Object) might have properties such as '.Name', '.DOB' and relationships such as .Parent, .Partner, .EldestChild or .Sibling that have other objects from the Person Class as their values.

     

    If that isn't bad enough, I also adopted someone else's central error checking code, so every module starts with standard set of module name identifiers and initialises the error variable to show an error unless the module subsequently reaches the 'success' setting.  

     

    It is odd how one's own past work can lie so far outside one's comfort zone!

Resources