function collectLayers(graph, diagramName)
				{
					var layers = graph.model.getChildCells(graph.model.root);
					pageLayers[diagramName] = [];
					
					for (var k = 0; k < layers.length; k++)
					{
						//KNOWN We don't export invisible layers, we may support it later but we need to have a full cell state for invisible cells
						if (layers[k].visible)
						{
							pageLayers[diagramName].push({
								name: layers[k].value || 'Background',
								visible: layers[k].visible,
								locked: layers[k].style && layers[k].style.indexOf('locked=1') >= 0 
							});
						}
					}
				}
Convert current Editor UI pages into a vdsx file
@return true if successful, false otherwise