PSGraph icon indicating copy to clipboard operation
PSGraph copied to clipboard

Resolve DestinationPath before passing it to GraphViz

Open jhoek opened this issue 5 years ago • 0 comments

It seems that GraphViz is not aware of PowerShell path constructs such as ~.

Graph { Node Foo } | Export-PSGraph -DestinationPath C:\users\jhoek\Desktop\thisworks.png
Graph { Node Baz } | Export-PSGraph -DestinationPath ~\Desktop\thisdoesnot.png

jhoek avatar Jun 03 '19 05:06 jhoek