Text this: Clustering Method for Edge and Inner Buildings Based on DGI Model and Graph Traversal