Dependency Graph /Graphviz

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
un1corn
Posts: 240
Joined: Sat Dec 26, 2015 2:06 pm

Dependency Graph /Graphviz

Post by un1corn »

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

Hi, I have been away from computer for a while and just getting back into things.
Previously the Dependency Graph worked fine on both V0.16 and V0.18 but know it cannot be found in either, I uninstalled then reinstalled it but still does not work.
On the start menu there is gvedit.exe which just opens the program, I do not know where FreeCad goes to look for the dependency graph or the file it is looking for.
Typing dot into search box only reveals PDF files and examples.
I would appreciate some guidance please if only to indicate the file name and the location where it should be to enable FreeCad to find it.
Thanks in advance.
kisolre
Veteran
Posts: 4162
Joined: Wed Nov 21, 2018 1:13 pm

Re: Dependency Graph /Graphviz

Post by kisolre »

Tools/Edit parameters.../BaseApp/Preferences/Paths/Graphviz
un1corn
Posts: 240
Joined: Sat Dec 26, 2015 2:06 pm

Re: Dependency Graph /Graphviz

Post by un1corn »

FAO Kisoire. Thank you for taking the time to read and respond to my query.
As you will see by attached PNG file my Paths folder is empty (as most others here are), What and how do I add the graphviz to the paths folder, is it a folder or file, and where might I expect to find it.
As you may note I am not knowledgeable in computers.
Thanks for your patience.
Attachments
Prefs.PNG
Prefs.PNG (85.37 KiB) Viewed 967 times
kisolre
Veteran
Posts: 4162
Joined: Wed Nov 21, 2018 1:13 pm

Re: Dependency Graph /Graphviz

Post by kisolre »

Check this thread for working Graphviz installation https://forum.freecadweb.org/viewtopic. ... 2&start=20.
Or navigate here: https://ci.appveyor.com/project/ellson/graphviz-pl238, select "Environment: build_system=cmake, generator=Visual Studio 14 2015 Win64; Configuration: Release", there under "Artifacts" you will find installable recent dev version.

In Parameter Editor RMB in the right panel and create "New string item" named Graphviz and text pointing to Graphviz installation folder as in the screenshot:
Attachments
Graphviz Path.JPG
Graphviz Path.JPG (68.66 KiB) Viewed 953 times
un1corn
Posts: 240
Joined: Sat Dec 26, 2015 2:06 pm

Re: Dependency Graph /Graphviz

Post by un1corn »

Hi Kisoire.
Thanks for your input.
I have just figured out where the file is and have pointed FreeCAD to it, in my case it is C:\Program Files (x86)\Graphviz2.38\bin.
Dependency Graph is now working perfectly on both versions.
Thanks again.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Dependency Graph /Graphviz

Post by Kunda1 »

See Std_ExportGraphviz and tell us what's missing from it
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
un1corn
Posts: 240
Joined: Sat Dec 26, 2015 2:06 pm

Re: Dependency Graph /Graphviz

Post by un1corn »

FAO Kunda1. Having viewed the suggested article 'Std_ExportGraphviz' I do not think there is anything missing, I am not computer orientated so it takes me a while to understand things unless help is provided in the form of an IDIOT's GUIDE........
Thanks for responding to my query, all now seems well.
Post Reply