-
Notifications
You must be signed in to change notification settings - Fork 7
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
Mac Setup #16
Comments
Hi again. Just following up to see if you can give instructions with getting things setup on a Mac. I'm having trouble figuring out how to get the ERD program working to be able to actually execute my models. I believe the DOT program is good since it's a simple executable and location mapping. |
Sorry for the late reply. Install kaishuu0123/erd-go $ brew tap kaishuu0123/erd-go
$ brew install erd-go
# install check
$ erd-go and settings.json example {
(snip)
"erd-preview.erdPath": "erd-go",
(snip)
} |
Great, thank you. That works now. However, the save as png, svg, and pdf do not work. Is there something special I need to do on that front? |
hm ... This may be a bug.
no need. I recognized the problem of being saved in SVG format and will continue to investigate. thank you for your report. |
@JourdanDixon If this problem is caused by the graphviz-dot.js command I made, try using graphviz 's dot command.
|
I ran that script and updated my settings.json file dot setting to "graphviz". It wouldn't work at all. No preview or anything. I also tried "graphviz-dot" and "graphviz-dot.js". None of them worked. |
@JourdanDixon (By the way, installing graphviz will install the |
{ This works as far as viewing the preview, but I can't save as png, etc. After installing graphviz with homebrew, I tried changing the dotPath to graphviz and the other two versions, but none of those three would allow the preview or saving as... |
Hello again... just checking in to see how things are going with the above. |
I am facing similar issue, unable to save Preview image as PNG or PDF, noticed following errors in console.
|
I do not have enough time. Sorry. (PR is always welcome.) |
@JourdanDixon @bharat-p I want to feedback. |
It saves as an SVG fine. But if I try as PDF or PNG, it actually tries to save in the SVG format, but with the PDF / PNG extension. So the end result is telling me that the format is wrong. So, it looks like it works correctly until I attempt to open the file. |
@JourdanDixon hm ... It does not reproduce on my Mac. I was in embarrassment. $ /home/(username)/graphviz-dot-macos-x64 --version If you are not using v0.3.1, you may have encountered a bug in graphviz-dot-macos-x64. |
I updated everything to the current version. When I ran the "Save As...", it had this outcome:
|
@JourdanDixon Please attach PNG file to github. |
I have the same problem on mac osx 10.15.4 |
With the newest version of all pieces, I get the same thing, just a black screen. It won't build the model anymore. |
it's working for me in version 5.0.0 ! <3 |
Hi there, will you please write up a step by step installation instructions for the dot and erd programs on Mac? Also, will you do the same on what I should put inside the Visual Studio Code Settings file for Mac? I've been trying to set it up, but I can't figure it out. Thanks!
The text was updated successfully, but these errors were encountered: