Domain configurations in dislocations embedded hexagonal manganite systems: From the view of graph theory