Hi cynthia daniel,
You can indeed input shapefiles into Tableau. The following links can guide you through this:
Hope these help with your queries
For reference, spatial files with line data types are supported starting in Tableau 10.4.
For the centrality measures (e.g., closeness of nodes) - Tableau doesn't currently support direct spatial analyses of this type. You would likely want to perform these calculations in a GIS.