I looked at the code of as2api though I don't know anything about ruby. Well the code looks clear, but there is no doc inside. My idea was just to add an output plugin to export to XMI meaning reverse engineer my own code to make graphs and extend it.