A novel framework for community modeling and characterization in directed temporal networks