k-control-diagram