Attempting to add common intermediate representation between rbg and abg
so that a common method can be used to interpret dia and xfig diagrams