Text this: Topological Properties of Nanostar Dendrimer and Smart Polymer