collect relationship object sourc object dest set ret hash set sourc model element illeg argument except sourc dest model element illeg argument except dest ret add flow sourc dest ret add flow dest sourc ret add depend sourc dest ret add depend dest sourc sourc generaliz element dest generaliz element ret add gener sourc dest ret add gener dest sourc sourc classifi dest classifi ret add associ sourc dest invalid object except invalid element except ret 