asciidoctor/asciidoctor-intellij-plugin

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

Ouverte

#972 ouverte le 24 janv. 2022

 (10 commentaires) (0 réaction) (0 personne assignée)Java (155 forks)auto 404
buggood first issuehelp wanted

Métriques du dépôt

Stars
 (392 étoiles)
Métriques de merge PR
 (Merge moyen 4j 11h) (3 PRs mergées en 30 j)

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

Guide contributeur