A method for autogeneration/draw of valid arrays and contracted graphs by cad is studied in this paper. First, the concepts and relative new criteria of arrays and contracted graphs (CGs) are explained for the representation/generation of the CGs and the identification of the isomorphic/invalid CGs using the arrays. Second, a software is created in Visual Basic for automatically generating the arrays of the CGs with pentagonal links, identifying the isomorphic/invalid arrays, generating the valid arrays, and automatically drawing their CGs. Third, the interface of the software and the main functions of the compiled programs are explained. Finally, some examples are given to illustrate this software and method.