The following wikitext should create a graph that links to a page with a comma in its title (working example) but it doesn't. Instead it links to [[Charles Prince of Wales]] without the comma.
<graphviz> digraph testgraph { "Charles, Prince of Wales" [ URL="[[Charles, Prince of Wales]]", tooltip="Charles, Prince of Wales" ] } </graphviz>