var g = new AdjacencyGraph>(); var adlSite = new SiteVertex("Adelaide Clinic"); g.AddVertex(adlSite); var modSite = new SiteVertex("Modbury Clinic"); g.AddVertex(modSite); var elecService = new ServiceVertex("Electrical"); var mechService = new ServiceVertex("Mechanical"); g.AddVertex(elecService); g.AddVertex(mechService); //Put elec and mech services underneath adelaide g.AddEdge(new Edge(adlSite,elecService); g.AddEdge(new Edge(adlSite,mechService)); var concreteAsset = new AssetVertex("Airconditioner model 1234");