Update linkgraph.php - permit underscore in link id

linkgraph.php errored if the link ID had an underscore in it.