Coset graphs in bulk and boundary logarithmic minimal models