Analysis of criminal social networks with typed and directed edges