adding segment graphs to the demo