connecting the pipeline to line primitive