refactor UmlgGraph a tad to better handle orientdb