Allow relative URL in Graphviz.app
Created by: ytsutano
Let's say we have a file a.dot
linking another file b.dot
using relative URL:
digraph a {
"b.dot" [URL="b.dot"];
}
Previously, we get the following error message when the node is clicked: Since it already supports "file://" with absolute paths, I think it makes sense to support the relative ones as well. This patch fixes this error by using the URL of the opened file as a base URL of the target URL.