asciidoctor/asciidoctor-intellij-plugin

/opt/local/bin/dot not found on homebrew-installed graphviz on Apple Silicon

Open

#972 opened on Jan 24, 2022

View on GitHub
 (10 comments) (0 reactions) (0 assignees)Java (155 forks)auto 404
buggood first issuehelp wanted

Repository metrics

Stars
 (392 stars)
PR merge metrics
 (PR metrics pending)

Description

Observed vs. expected behavior

Observed

Expected

Suggestion

Maybe introduce an environment variable GRAPHVIZ_DOT and/or let the user select it via UI like the PlantUML integration does:

Steps to reproduce

= dot test

[plantuml]

----
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml

Container(t, "Test Container")
Person(p, "Test Person")
@enduml
----

Environment

Plugin Version: 0.36.13

WebStorm Details: 2021.3.1

% sw_vers
ProductName:	macOS
ProductVersion:	12.1
BuildVersion:	21C52
% uname -m
arm64
% brew --prefix
/opt/homebrew
% which dot
/opt/homebrew/bin/dot

https://docs.brew.sh/FAQ#why-is-the-default-installation-prefix-opthomebrew-on-apple-silicon

Contributor guide