added getAttacks() function to JAgoraGraph