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.props
file and change GraphvizDir directory value to point to Graphviz installation directory (note that this value should be backslash-terminated). - Open
build/grapheditor.sln
and build it. - Run
graphtest
sample after setting theWX_GRAPHTEST_DATA_DIR
environment variable to point tosamples/resources
directory 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:
DEBUG
may be set to 1 to build with debug info and without optimizations.WX_CONFIG
may be set to the full path ofwx-config
if it's not inPATH
.WX_PORT
,WX_SHARED
andWX_VERSION
may 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