asciidoctor/asciidoctor-intellij-plugin

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

Aberta

#972 aberto em 24 de jan. de 2022

 (10 comentários) (0 reação) (0 responsável)Java (155 forks)auto 404
buggood first issuehelp wanted

Métricas do repositório

Stars
 (392 estrelas)
Métricas de merge de PR
 (Mesclagem média 4d 11h) (3 fundiu PRs em 30d)

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

Guia do colaborador