spagedi diagram + spagedi_wrapper debugging