From what they have shown, whenever a combatant disengages from melee combat his adjacent opponents get an attack of oportunity. Also if you have characters on both side of an opponent, that opponent is considered flanked and you have a higher chance to hit him I believe. (I think they mention it on some of the let's play videos).