Applying compiler techniques to diagram recognition | IEEE Conference Publication | IEEE Xplore