asciidoctor/asciidoctor-intellij-plugin

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

Aperta

#972 aperta il 24 gen 2022

 (10 commenti) (0 reazioni) (0 assegnatari)Java (155 fork)auto 404
buggood first issuehelp wanted

Metriche repository

Star
 (392 stelle)
Metriche merge PR
 (Merge medio 4g 11h) (3 PR mergiate in 30 g)

Descrizione

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

Guida contributor