public void AddVertex(Vertex newVertex) { vertices.Add(newVertex); HeepLanguage.AddVertexToMemory(deviceMemory, newVertex); NonVolatileData.WriteMemoryToFile(deviceMemory); }