This is a simple graph editor library for wxWidgets.
- wxWidgets 3.2 or later.
- Graphviz headers and libraries: tested with Graphviz from 2.26 to 10.0.1.
The solution file uses MSVS 2022 format, but previous MSVS 201x versions should probably work as well -- they haven't been tested however.
- Edit
build/graphviz.propsfile and change GraphvizDir directory value to point to Graphviz installation directory (note that this value should be backslash-terminated). - Open
build/grapheditor.slnand build it. - Run
graphtestsample after setting theWX_GRAPHTEST_DATA_DIRenvironment variable to point tosamples/resourcesdirectory to allow it finding its image files.
This works in any Unix-like environment providing the standard Unix tools such
as ar(1) and ranlib(1) as well as pkg-config, with libgvc.pc from Graphviz
being available, and wx-config.
Simply run make -C build to build, optionally specifying the following
variables on make command line:
DEBUGmay be set to 1 to build with debug info and without optimizations.WX_CONFIGmay be set to the full path ofwx-configif it's not inPATH.WX_PORT,WX_SHAREDandWX_VERSIONmay be used to select a particular wxWidgets build if more than one are available.
Set WX_GRAPHTEST_DATA_DIR to the location of the directory containing the
resources when running graphtest after building, e.g.
$ WX_GRAPHTEST_DATA_DIR=`pwd`/samples/resources ./build/out/graphtest