First off, many thanks for the positive feedback. Its good to know our efforts are appreciated.
I agree the nmap routine does have a few quirks, and I must admit I haven't delved too deep in to its workings recently, I set it going over a year ago, and it "just worked" so I left it at that.
I will be looking again, because I am working on the diagram export functions, and I need better results for the pictures.
As to the pictures themselves there is a function in include functions which does most of the work, and this is where I have been concentrating my efforts.
In the short term I simply duplicated this function to use it for the diagrams, but I intend if I have the time to make it more sophisticated, so watch this space.
More from me on Monday or Tues when I have the time.