Repaint jsplumb connections when choice endpoints are added/removed, and when state modes are switched