Updated the AutoGeneratingPanel to generate LineElements