Community
Participate
Working Groups
As requested by CQ 11140, we should bundle the dot executable as part of GEF4 DOT, so the user would not have to provide a link to an installed dot executable via the preferences.
This issue is related to https://github.com/ellson/graphviz/issues/82
Graphviz Gitlab issue: Please help for graphviz building! https://gitlab.com/graphviz/graphviz/issues/1244
I have just implemented some test cases und /org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotExecutableLayoutingTests.java to test that the installed and the self-compiled graphviz dot executable produces the same layouting information. Before executing these test cases, the dotExecutableInstalled and the dotExecutableBuild variables have to be properly specified.
Created attachment 272240 [details] Rebase of the patch I created a fork of the graphviz repository and created a branch upon which I rebased the minimal graphviz patch. During rebase I had to make some choices regarding deletion/keeping of diverged files. I dumped the history and added the output of git rebase master --verbose after applying the initial patch for future reference.
The link to the forked repository: https://gitlab.com/prggz/graphviz/tree/minimal
GitHub Pull Request 13 created by [prggz] https://github.com/eclipse/gef/pull/13
Thanks for your contribution, Zoey! I merged your Pull Request into the origin/master branch.
The minimal version based in the repository (see #5) builds fine as static build under ubuntu and under cygwin using the same process as laid out by alexander (see #2). However, because we can't have a cygwin dependency, we need to get the native Windows build to work. As of 2017 Graphviz seems to be built using CMake and Visual Studio 2015. The appveyor build process is described here: https://ci.appveyor.com/project/ellson/graphviz-pl238 I will attach a basic power shell script that I am using for built purposes. The full build can be reproduced. However, the current CMake configuration has no options to deselect unused libraries or to have a static build. Hence, I have opened an issue on Graphviz asking for the build process for a static Windows build. https://gitlab.com/graphviz/graphviz/issues/1331
Created attachment 272683 [details] Simple Hacked Script to Start Windows CMake built process The script is based on the appveyor built. It was not intended for production use, but to be able to quickly test CMakeList changes. It should be started from the graphviz git clone's root directory. It cleans resets and cleans the git repository, so any changes that were not committed locally will be deleted. This is to remove any artifacts from previous builds.
Use graphviz with pure java: https://github.com/nidi3/graphviz-java P2 update site: https://github.com/kris7t/graphviz-java-p2
See also: https://gitlab.com/graphviz/graphviz/-/issues/1219
See also: https://gitlab.com/graphviz/graphviz/-/issues/1884