Chain diagram