Scripting OmniGraffle?

Has anyone here ever tried scripting/automating OmniGraffle?

I have a wild-hare idea for a an AppleScript for generating Website Maps automatically using OmniGraffle, but had some questions to ask a knowledgeable person first…