Text this: An index of a graph with applications to knot theory/