Graphviz Addon: How to use latest Graphviz / Dot ?

23 views
Skip to first unread message

Yuvaraj Athur Raghuvir

unread,
Jun 17, 2026, 8:34:49 PMJun 17
to forum
Hello,

I installed latest Graphviz for Windows from https://graphviz.gitlab.io/download/ current version 15.0.0 . When I used the graphics/graphviz addon, J raised an error that binaries was not installed recommending that I run 
getbin_pgraphview_'' 
which I did. 

On inspecting the code, I find that J attempts to download and install in ~temp directory a new set of binaries. On further investigation it seems that the addon checks for J local DLL

checklibrary=: 3 : 0

if. -.IFWIN do. 1 return. end.

if. fexist '~addons/graphics/graphviz/bin/gvc.dll'

...


I recall using a configuration to call external programs/libraries. 

How can I point J graphics/graphviz to use my installed Graphviz on my machine?  



Thanks,

Yuva


My J Version:

j9.8.0-beta2/j64avx2/windows/commercial/www.jsoftware.com/2026-05-08T16:41:51/clang-19-1-5/SLEEF=1

bill lam

unread,
Jun 17, 2026, 11:07:31 PMJun 17
to fo...@jsoftware.com
Csn you unzip or copy the files to the folder expected by the J addon?

To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.

Yuvaraj Athur Raghuvir

unread,
Jun 18, 2026, 12:07:26 AMJun 18
to forum, bill lam
The folder structures are not the same. Do I need to copy/replace ONLY the bin/ folder?

I see a lib/ folder in my Graphviz installation. Is that required?

bill lam

unread,
Jun 18, 2026, 12:22:56 AMJun 18
to Yuvaraj Athur Raghuvir, forum
I didn't have real experience with this addons, If you browse the
script, there are lines
shellcmd_jpacman_ UNZIP_jpacman_,to,' -d ',temp
dircopy_jpacman_ (temp,'/release/bin');jpath '~addons/graphics/graphviz/bin'
dircopy_jpacman_ (temp,'/release/fonts');jpath '~addons/graphics/graphviz/fonts'
dircopy_jpacman_ (temp,'/release/share/graphviz/graphs');jpath
'~addons/graphics/graphviz/graphs'
dircopy_jpacman_ (temp,'/release/share/graphviz/doc');jpath
'~addons/graphics/graphviz/doc'
deltree_jpacman_ jpath '~temp/graphviz'

I believe this is folder structure expected by the addon.
I suspect the lib folder holds development files for linking and not
used by the J addon.

On Thu, Jun 18, 2026 at 12:07 PM Yuvaraj Athur Raghuvir

Marcin Żołek

unread,
Jun 18, 2026, 1:28:33 PMJun 18
to fo...@jsoftware.com, Yuvaraj Athur Raghuvir
The graphviz addon is updated to install the current Graphviz binaries
(15.0.0) on Windows. To upgrade the addon run:

install 'graphics/graphviz'

For example in J9.7,

getbin_pgraphview_''

installs the binaries in C:\program
files\j9.7\addons\graphics\graphviz\bin

Marcin
Reply all
Reply to author
Forward
0 new messages