A Framework of Syntactic Models for the Implementation of Visual Languages