this is a plugin to draw network  topology which consists of routers and switches . It's written in java,very easy to use in your project.