reference & alias definitions
reordering
rewrite of diagraph definition
generic/particular diagraph