FORM, Diagrams and Topologies