Skip to content

Allow relative URL in Graphviz.app

John Ellson requested to merge gh-c6ef0109/79/ytsutano/relative-url into master

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: message 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.

Merge request reports