dag { "Lung function " [outcome,pos="1.400,1.621"] "Respiratory Infection" [pos="-1.085,0.823"] "SEP (participant and parental education)" [pos="-1.069,-0.480"] Age [pos="1.248,0.283"] Height [pos="1.076,0.286"] MNPs [exposure,pos="-2.200,1.597"] Sex [pos="1.426,0.280"] Smoking [pos="-1.079,0.334"] Weight [pos="0.891,0.291"] "Respiratory Infection" -> "Lung function " "Respiratory Infection" -> MNPs "SEP (participant and parental education)" -> "Lung function " "SEP (participant and parental education)" -> MNPs "SEP (participant and parental education)" -> Smoking "SEP (participant and parental education)" -> Weight Age -> "Lung function " Height -> "Lung function " MNPs -> "Lung function " Sex -> "Lung function " Smoking -> "Lung function " Smoking -> "Respiratory Infection" Smoking -> MNPs Weight -> "Lung function " }