Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for relative paths #6

Closed
lewisclement opened this issue Mar 21, 2018 · 5 comments
Closed

No support for relative paths #6

lewisclement opened this issue Mar 21, 2018 · 5 comments
Assignees

Comments

@lewisclement
Copy link

lewisclement commented Mar 21, 2018

When using url's to images, only absolute paths from root are supported. Otherwise a "Warning: No such file or directory while opening [file]" error is displayed, whereas this does work when calling the dot command from CLI.

@artemanufrij
Copy link
Owner

Hey @lewisclemen thank you for your feedback. could you send me an example you use in your case?

@lewisclement
Copy link
Author

Well, for instance this case:

digraph example {
	rankdir=LR;

	// Actors
	{
		node [ shape=rectangle, image="actor.png", 
			width=2, height=2, fixedsize=true]

		Beheerder
		Ontwikkelaar
		Gebruiker
	}
}

When having the file "actor.png" in the same folder as the .gv file.

And when I use an absolute path the graph is drawn, but the images aren't. But I don't think that's related to this problem, cause the CLI command produces expected results.

@artemanufrij
Copy link
Owner

thank you for your example. will test it when I'm back home.

@artemanufrij artemanufrij self-assigned this Mar 21, 2018
@artemanufrij
Copy link
Owner

hey @lewisclement could you test current master branch please?

@artemanufrij
Copy link
Owner

Fixed released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants