Giter Site home page Giter Site logo

graphcontrol's Introduction

#### Get cmake, git, git-svn ####
# Linux
sudo apt-get install cmake git git-svn 

# OSX
cmake:  http://cmake.org/cmake/resources/software.html
git: http://git-scm.com/download

#### Get required libraries #### 
# On Linux (Ubuntu 13.04)
sudo apt-get install libboost-dev libboost-system-dev libboost-thread-dev libboost-filesystem-dev libboost-chrono-dev libfreetype6-dev libexpat1-dev libgtk2.0-dev

# On OSX (Snow Leopard)
sudo port install boost freetype expat

# On Windows
TODO:  How to get "externals folder" + how to install WIX

#### Create development folder #### 
mkdir ~/git
cd ~/git

#### Get GraphControl Sources #### 
git clone https://github.com/hpcc-systems/GraphControl.git
cd GraphControl
git checkout candidate-3.10.x
cd ..

#### Get Firebreath library #### 
git clone https://github.com/GordonSmith/FireBreath.git
cd FireBreath
git checkout closedown-5.0.x
cd ..

#### Get unrestricted (2.4) agg libraries #### 
git clone https://github.com/GordonSmith/agg.git
cd agg
git checkout graphcontrol-3.10.x
cd ..

#### Get AT&T Graphviz libraries #### 
wget http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.26.3.tar.gz
tar xf graphviz-2.26.3.tar.gz
rm graphviz-2.26.3.tar.gz
cd graphviz-2.26.3
./configure
cd ..

#### Create general build folder #### 
mkdir build
cd build

#### Create build folder for GraphControl #### 
mkdir GraphControl
cd GraphControl

#### Generate GraphControl make files #### 
# On OSX and Linux
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_SYSTEM_BOOST=1 -DFB_PROJECTS_DIR:PATH=../GraphControl -DGRAPHVIZSRC_DIR=../../graphviz-2.26.3 -DAGGSRC_DIR=../../agg ../../FireBreath
# On Windows
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_SYSTEM_BOOST=1 -DFB_PROJECTS_DIR:PATH=../GraphControl -DGRAPHVIZSRC_DIR=../../graphviz-2.26.3 -DAGGSRC_DIR=../../agg -DEXTERNALS_DIRECTORY:PATH=c:/full/path/to/externals ../../FireBreath

#### Compile the sources #### 
cmake --build . --config Release

#### To install the plugin #### 
cmake --build . --config Release --target install

#### Create an install package #### 
# On OSX and Linux
cmake --build . --config Release --target package
# On Windows
cmake --build . --config Release --target HPCCSystemsGraphViewControl\HPCCSystemsGraphViewControl_WiXInstall
cd ..

#### For debugging, create a symbolic link to the built plugin #### 
# Linux
ln -s ~/git/build/GraphControl/bin/HPCCSystemsGraphViewControl/npHPCCSystemsGraphViewControl.so ~/.mozilla/plugins/npHPCCSystemsGraphViewControl.so
# OSX
ln -s ~/git/build/GraphControl/projects/HPCCSystemsGraphViewControl/HPCCSystemsGraphViewControl.plugin ~/Library/Internet\ Plug-Ins/HPCCSystemsGraphViewControl.plugin

graphcontrol's People

Contributors

richardkchapman avatar gordonsmith avatar ghalliday avatar pschwartz avatar xwang2713 avatar

Stargazers

 avatar Andrew Sutherland avatar Martin Adamczyk avatar Mihai Todor avatar  avatar Fatih Kaya avatar Ed Preston avatar  avatar DrDePhobia avatar Chris Lo avatar  avatar Gregoire Lejeune avatar

Watchers

James Cloos avatar  avatar Stuart Ort avatar  avatar Jake Smith avatar  avatar  avatar  avatar James Chang avatar Martin Adamczyk avatar  avatar

graphcontrol's Issues

Improve GetLocalisedXGMML

Dedup common edges between subgraphs.
Improve "0" level support.
Ensure top level self contained clusters are included.

CMake errors on configure with centos 5.x/6.x

Configure fails to complete with issues related to the install boost and the Boost.cmake/BoostConfig.cmake files that are included with boost.

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/lib64/boost141/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:282 (find_package)
  cmake/common.cmake:111 (find_package)
  CMakeLists.txt:86 (add_boost_library)


Boost  found.
Found Boost components:
   thread
project dir: /root/gc/GraphControl
/root/gc/GraphControl/License.txt/ does not seem to be a FireBreath Plugin
HPCC_VERSION:  3.10.5.001
MSI_VERSION:  3.10.5001
Generating plugin configuration files in /root/gc/build/projects/HPCCSystemsGraphViewControl/gen
-- checking for module 'gtk+-2.0'
--   package 'gtk+-2.0' not found
CMake Error at /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  cmake/X11.cmake:37 (pkg_check_modules)
  src/PluginAuto/CMakeLists.txt:29 (find_firebreath_x11_deps)


-- checking for module 'gtk+-2.0'
--   package 'gtk+-2.0' not found
CMake Error at /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  /root/gc/FireBreath/cmake/X11.cmake:37 (pkg_check_modules)
  /root/gc/FireBreath/cmake/X11.cmake:55 (find_firebreath_x11_deps)
  /root/gc/GraphControl/HPCCSystemsGraphViewControl/X11/projectDef.cmake:27 (add_x11_plugin)
  /root/gc/FireBreath/cmake/common.cmake:89 (include)
  /root/gc/GraphControl/HPCCSystemsGraphViewControl/CMakeLists.txt:46 (include_platform)


-- Found AGGSRC: /root/gc/agg
-- Found GRAPHVIZSRC: /usr/local/src/graphviz-2.26.3
-- Found EXPAT: /usr/lib64/libexpat.so
-- Found Freetype: /usr/lib64/libfreetype.so
CMake Error at /usr/lib64/boost141/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:282 (find_package)
  /root/gc/FireBreath/cmake/common.cmake:111 (find_package)
  /root/gc/FireBreath/cmake/common.cmake:97 (add_boost_library)
  /root/gc/GraphControl/HPCCSystemsGraphViewControl/CMakeLists.txt:111 (link_boost_library)


Boost  found.
Found Boost components:
   thread;system
CMake Error at /usr/lib64/boost141/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:282 (find_package)
  /root/gc/FireBreath/cmake/common.cmake:111 (find_package)
  /root/gc/FireBreath/cmake/common.cmake:97 (add_boost_library)
  /root/gc/GraphControl/HPCCSystemsGraphViewControl/CMakeLists.txt:112 (link_boost_library)


Boost  found.
Found Boost components:
   thread;system;date_time
CMake Error at /usr/lib64/boost141/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:282 (find_package)
  /root/gc/FireBreath/cmake/common.cmake:111 (find_package)
  /root/gc/FireBreath/cmake/common.cmake:97 (add_boost_library)
  /root/gc/GraphControl/HPCCSystemsGraphViewControl/CMakeLists.txt:113 (link_boost_library)


Boost  found.
Found Boost components:
   thread;system;date_time;filesystem
CMake Error at /usr/lib64/boost141/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:282 (find_package)
  /root/gc/FireBreath/cmake/common.cmake:111 (find_package)
  /root/gc/FireBreath/cmake/common.cmake:97 (add_boost_library)
  /root/gc/GraphControl/HPCCSystemsGraphViewControl/CMakeLists.txt:114 (link_boost_library)


Boost  found.
Found Boost components:
   thread;system;date_time;filesystem;regex
/root/gc/GraphControl/doBuildGraphControl.bat/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/CPackReadMe.txt/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/README/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/graphdb/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/doBuildGraphControlStatic64.bat/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/expat/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/graphlayout/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/agg/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/version.cmake/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/doBuildGraphControlStatic.bat/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/graphrender/ does not seem to be a FireBreath Plugin
/root/gc/GraphControl/cmake/ does not seem to be a FireBreath Plugin
CMake Error at /usr/lib64/boost141/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:282 (find_package)
  cmake/common.cmake:111 (find_package)
  cmake/common.cmake:97 (add_boost_library)
  tests/ScriptingCoreTest/CMakeLists.txt:56 (link_boost_library)


Boost  found.
Found Boost components:
   thread;system
CMake Error at /usr/lib64/boost141/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:282 (find_package)
  cmake/common.cmake:111 (find_package)
  cmake/common.cmake:97 (add_boost_library)
  tests/ScriptingCoreTest/CMakeLists.txt:57 (link_boost_library)


Boost  found.
Found Boost components:
   thread;system;date_time
CMake Error at /usr/lib64/boost141/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:282 (find_package)
  cmake/common.cmake:111 (find_package)
  cmake/common.cmake:97 (add_boost_library)
  tests/ScriptingCoreTest/CMakeLists.txt:58 (link_boost_library)


Boost  found.
Found Boost components:
   thread;system;date_time;regex
-- Configuring incomplete, errors occurred!

Dual Build Script

3.10.x supports the new cmake package system, but it also needs to support the older build system.

Zooming in/out also moves the graph

Using the zoom in/out slider in Chrome under Ubuntu (12.04), causes the graph rendering to be relocated, so that the bottom-right hand corner becomes centred in the middle of the grey pane.

Installation depencies for ubuntu 12.10

I was told that these errors shouldn't be occurring when I'm installing the graphcontrol on ubuntu12.10

clo@clo-ubuntu1210:~$ sudo dpkg -i hpccsystems-graphcontrol_community-3.10.4-rc4quantal_amd64.deb
Selecting previously unselected package hpccsystems-graphcontrol.
(Reading database ... 173897 files and directories currently installed.)
Unpacking hpccsystems-graphcontrol (from hpccsystems-graphcontrol_community-3.10.4-rc4quantal_amd64.deb) ...
dpkg: dependency problems prevent configuration of hpccsystems-graphcontrol:
hpccsystems-graphcontrol depends on libboost-dev (>= 1.46.0); however:
Package libboost-dev is not installed.
hpccsystems-graphcontrol depends on libboost-system-dev (>= 1.46.0); however:
Package libboost-system-dev is not installed.
hpccsystems-graphcontrol depends on libboost-thread-dev (>= 1.46.0); however:
Package libboost-thread-dev is not installed.
hpccsystems-graphcontrol depends on libboost-filesystem-dev (>= 1.46.0); however:
Package libboost-filesystem-dev is not installed.

@pschwartz @GordonSmith @lorraineachapman

DOT Parsing

abc[label=""]

and

"some node"->"some other node"

Do not parse correctly

windows graphcontrol installs twice

I previously had 6.10.4003 installed and then I installed 6.10.4101 without uninstalling the other one.
After I was told that 6.10.4101 was done installing, I checked in the control panel > programs and features Both graphcontrols are still installed.

at the moment the user needs to manually uninstall the older one.

@lorraineachapman @GordonSmith @JamesDeFabia

Linux + Restrict Scrolling

One point of the graph should always be at the center point of the screen.
Currently it is possile to drag the graph offscreen (and this causes more issues with clipping)

Package naming does not follow HPCC standard.

Currently packages are named with just an arch and generic Windows, Linux, or Mac.

This should be specific to a distribution type and follow the settings from the HPCC-Platform.

build error on linux

Following the build tutorial,

[previous steps go perfectly fine]

$ cmake -DGRAPHVIZSRC_DIR=../../graphviz-2.26.3/ -DAGGSRC_DIR=../../agg/ -DFIREBREATH_DIR=../../FireBreath/ -DFIREBREATH_BUILD_DIR=../FireBreath/ ../../GraphControl/

[โ†‘ This step goes fine too, I just put it here to better locate the problem]

$ make
Scanning dependencies of target agg
[  0%] Building CXX object agg/CMakeFiles/agg.dir/home/cduquesne/code/or/GraphControl/agg/agg-2.4/src/agg_arc.cpp.o
[...]
[100%] Building CXX object HPCCSystemsGraphViewControl/CMakeFiles/HPCCSystemsGraphViewControl.dir/Version.cpp.o
HPCCSystemsGraphViewControl/Version.cpp:25:23: fatal error: ..\config.h: No such file or directory
compilation terminated.
make[2]: *** [HPCCSystemsGraphViewControl/CMakeFiles/HPCCSystemsGraphViewControl.dir/Version.cpp.o] Error 1
make[1]: *** [HPCCSystemsGraphViewControl/CMakeFiles/HPCCSystemsGraphViewControl.dir/all] Error 2
make: *** [all] Error 2

Ok, this seems to be a basic platform error: I edit the file to turn the include into "../config.h", and then:

$ make
[ 10%] Built target agg
[ 13%] Built target vpsc
[ 17%] Built target pathplan
[ 24%] Built target cdt
[ 28%] Built target graph
[ 38%] Built target common
[ 43%] Built target gvc
[ 44%] Built target xdot
[ 45%] Built target pack
[ 61%] Built target neatogen
[ 65%] Built target circogen
[ 71%] Built target dotgen
[ 75%] Built target fdpgen
[ 79%] Built target sfdpgen
[ 83%] Built target gvplugin_core
[ 84%] Built target gvplugin_dot_layout
[ 85%] Built target twopigen
[ 86%] Built target osage
[ 86%] Built target patchwork
[ 87%] Built target gvplugin_neato_layout
[ 87%] Built target sparse
[ 87%] Built target graphlayout
[ 94%] Built target graphdb
[ 95%] Built target graphrender
[ 98%] Built target PluginAuto
[ 99%] Building CXX object HPCCSystemsGraphViewControl/CMakeFiles/HPCCSystemsGraphViewControl.dir/Version.cpp.o
[ 99%] Building CXX object HPCCSystemsGraphViewControl/CMakeFiles/HPCCSystemsGraphViewControl.dir/DotViewX11.cpp.o
Linking CXX shared library ../bin/npHPCCSystemsGraphViewControl.so
../bin/libgraphdb.a(GraphvizLayout.cpp.o): In function `hpcc::DoGraphvizLayout(hpcc::IGraph*, std::basic_string, std::allocator >&, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&)':
GraphvizLayout.cpp:(.text+0x45c): undefined reference to `boost::thread::~thread()'
GraphvizLayout.cpp:(.text+0x4a4): undefined reference to `boost::thread::~thread()'
GraphvizLayout.cpp:(.text+0x4d2): undefined reference to `boost::thread::~thread()'
../bin/libgraphdb.a(GraphvizLayout.cpp.o): In function `hpcc::DoGraphvizLayoutFromDot(hpcc::IGraph*, std::basic_string, std::allocator > const&, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&)':
GraphvizLayout.cpp:(.text+0x5f7): undefined reference to `boost::thread::~thread()'
GraphvizLayout.cpp:(.text+0x63f): undefined reference to `boost::thread::~thread()'
../bin/libgraphdb.a(GraphvizLayout.cpp.o):GraphvizLayout.cpp:(.text+0x66d): more undefined references to `boost::thread::~thread()' follow
../bin/libgraphdb.a(GraphvizLayout.cpp.o): In function `boost::detail::thread_data_base::thread_data_base()':
GraphvizLayout.cpp:(.text._ZN5boost6detail16thread_data_baseC2Ev[_ZN5boost6detail16thread_data_baseC5Ev]+0x24): undefined reference to `vtable for boost::detail::thread_data_base'
../bin/libgraphdb.a(GraphvizLayout.cpp.o): In function `boost::thread::thread, std::allocator >, std::basic_string, std::allocator >, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&), boost::_bi::list3, boost::_bi::value, std::allocator > >, boost::_bi::value, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > > > > >(boost::_bi::bind_t, std::allocator >, std::basic_string, std::allocator >, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&), boost::_bi::list3, boost::_bi::value, std::allocator > >, boost::_bi::value, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > > > >, boost::disable_if, std::allocator >, std::basic_string, std::allocator >, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&), boost::_bi::list3, boost::_bi::value, std::allocator > >, boost::_bi::value, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > > > >&, boost::detail::thread_move_t, std::allocator >, std::basic_string, std::allocator >, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&), boost::_bi::list3, boost::_bi::value, std::allocator > >, boost::_bi::value, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > > > > > >, boost::thread::dummy*>::type)':
GraphvizLayout.cpp:(.text._ZN5boost6threadC2INS_3_bi6bind_tIvPFvSsSsRKNS_8signals25slot2IvRKSsS7_NS_8functionIFvS7_S7_EEEEEENS2_5list3INS2_5valueIPKcEENSH_ISsEENSH_ISB_EEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSP_NS_6detail13thread_move_tISP_EEEEPNS0_5dummyEE4typeE[_ZN5boost6threadC5INS_3_bi6bind_tIvPFvSsSsRKNS_8signals25slot2IvRKSsS7_NS_8functionIFvS7_S7_EEEEEENS2_5list3INS2_5valueIPKcEENSH_ISsEENSH_ISB_EEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSP_NS_6detail13thread_move_tISP_EEEEPNS0_5dummyEE4typeE]+0x5f): undefined reference to `boost::thread::start_thread()'
../bin/libgraphdb.a(GraphvizLayout.cpp.o): In function `boost::detail::thread_data, std::allocator >, std::basic_string, std::allocator >, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&), boost::_bi::list3, boost::_bi::value, std::allocator > >, boost::_bi::value, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > > > > >::thread_data(boost::_bi::bind_t, std::allocator >, std::basic_string, std::allocator >, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&), boost::_bi::list3, boost::_bi::value, std::allocator > >, boost::_bi::value, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > > > >)':
GraphvizLayout.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvSsSsRKNS_8signals25slot2IvRKSsS7_NS_8functionIFvS7_S7_EEEEEENS2_5list3INS2_5valueIPKcEENSH_ISsEENSH_ISB_EEEEEEEC2ESO_[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvSsSsRKNS_8signals25slot2IvRKSsS7_NS_8functionIFvS7_S7_EEEEEENS2_5list3INS2_5valueIPKcEENSH_ISsEENSH_ISB_EEEEEEEC5ESO_]+0x56): undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
../bin/libgraphdb.a(GraphvizLayout.cpp.o): In function `boost::detail::thread_data, std::allocator >, std::basic_string, std::allocator >, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&), boost::_bi::list3, boost::_bi::value, std::allocator > >, boost::_bi::value, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > > > > >::~thread_data()':
GraphvizLayout.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvSsSsRKNS_8signals25slot2IvRKSsS7_NS_8functionIFvS7_S7_EEEEEENS2_5list3INS2_5valueIPKcEENSH_ISsEENSH_ISB_EEEEEEED2Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvSsSsRKNS_8signals25slot2IvRKSsS7_NS_8functionIFvS7_S7_EEEEEENS2_5list3INS2_5valueIPKcEENSH_ISsEENSH_ISB_EEEEEEED5Ev]+0x38): undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
../bin/libgraphdb.a(GraphvizLayout.cpp.o):(.data.rel.ro._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvSsSsRKNS_8signals25slot2IvRKSsS7_NS_8functionIFvS7_S7_EEEEEENS2_5list3INS2_5valueIPKcEENSH_ISsEENSH_ISB_EEEEEEEE[typeinfo for boost::detail::thread_data, std::allocator >, std::basic_string, std::allocator >, boost::signals2::slot2, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > const&), boost::_bi::list3, boost::_bi::value, std::allocator > >, boost::_bi::value, std::allocator > const&, std::basic_string, std::allocator > const&, boost::function, std::allocator > const&, std::basic_string, std::allocator > const&)> > > > > >]+0x10): undefined reference to `typeinfo for boost::detail::thread_data_base'
/home/cduquesne/code/or/GraphControl/build/FireBreath/ScriptingCore/libScriptingCore.a(BrowserHost.cpp.o): In function `FB::BrowserHost::BrowserHost()':
BrowserHost.cpp:(.text+0x57): undefined reference to `boost::this_thread::get_id()'
/home/cduquesne/code/or/GraphControl/build/FireBreath/ScriptingCore/libScriptingCore.a(BrowserHost.cpp.o): In function `FB::BrowserHost::isMainThread() const':
BrowserHost.cpp:(.text+0x18cb): undefined reference to `boost::this_thread::get_id()'
/home/cduquesne/code/or/GraphControl/build/FireBreath/ScriptingCore/libScriptingCore.a(BrowserHost.cpp.o): In function `boost::detail::interruption_checker::interruption_checker(pthread_cond_t*)':
BrowserHost.cpp:(.text._ZN5boost6detail20interruption_checkerC2EP14pthread_cond_t[_ZN5boost6detail20interruption_checkerC5EP14pthread_cond_t]+0x12): undefined reference to `boost::detail::get_current_thread_data()'
/home/cduquesne/code/or/GraphControl/build/FireBreath/ScriptingCore/libScriptingCore.a(BrowserHost.cpp.o): In function `boost::shared_mutex::lock_upgrade()':
BrowserHost.cpp:(.text._ZN5boost12shared_mutex12lock_upgradeEv[boost::shared_mutex::lock_upgrade()]+0x15): undefined reference to `boost::this_thread::disable_interruption::disable_interruption()'
BrowserHost.cpp:(.text._ZN5boost12shared_mutex12lock_upgradeEv[boost::shared_mutex::lock_upgrade()]+0xa8): undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()'
BrowserHost.cpp:(.text._ZN5boost12shared_mutex12lock_upgradeEv[boost::shared_mutex::lock_upgrade()]+0xcf): undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()'
/home/cduquesne/code/or/GraphControl/build/FireBreath/NpapiCore/libNpapiCore.a(NpapiPluginModule.cpp.o): In function `FB::Npapi::NpapiPluginModule::NpapiPluginModule()':
NpapiPluginModule.cpp:(.text+0x2e1): undefined reference to `boost::this_thread::get_id()'
/home/cduquesne/code/or/GraphControl/build/FireBreath/NpapiCore/libNpapiCore.a(NPObjectAPI.cpp.o): In function `boost::shared_mutex::lock_shared()':
NPObjectAPI.cpp:(.text._ZN5boost12shared_mutex11lock_sharedEv[boost::shared_mutex::lock_shared()]+0x15): undefined reference to `boost::this_thread::disable_interruption::disable_interruption()'
NPObjectAPI.cpp:(.text._ZN5boost12shared_mutex11lock_sharedEv[boost::shared_mutex::lock_shared()]+0x94): undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()'
NPObjectAPI.cpp:(.text._ZN5boost12shared_mutex11lock_sharedEv[boost::shared_mutex::lock_shared()]+0xbb): undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()'
/home/cduquesne/code/or/GraphControl/build/FireBreath/ScriptingCore/libScriptingCore.a(URI.cpp.o): In function `__static_initialization_and_destruction_0(int, int)':
URI.cpp:(.text+0x1d3f): undefined reference to `boost::system::get_system_category()'
URI.cpp:(.text+0x1d4b): undefined reference to `boost::system::get_generic_category()'
URI.cpp:(.text+0x1d57): undefined reference to `boost::system::get_generic_category()'
URI.cpp:(.text+0x1d63): undefined reference to `boost::system::get_generic_category()'
URI.cpp:(.text+0x1d6f): undefined reference to `boost::system::get_system_category()'
/home/cduquesne/code/or/GraphControl/build/FireBreath/ScriptingCore/libScriptingCore.a(URI.cpp.o): In function `boost::system::error_code::error_code()':
URI.cpp:(.text._ZN5boost6system10error_codeC2Ev[_ZN5boost6system10error_codeC5Ev]+0x17): undefined reference to `boost::system::get_system_category()'
/home/cduquesne/code/or/GraphControl/build/FireBreath/ScriptingCore/libScriptingCore.a(URI.cpp.o): In function `boost::asio::error::get_system_category()':
URI.cpp:(.text._ZN5boost4asio5error19get_system_categoryEv[boost::asio::error::get_system_category()]+0x5): undefined reference to `boost::system::get_system_category()'
collect2: ld returned 1 exit status
make[2]: *** [bin/npHPCCSystemsGraphViewControl.so] Error 1
make[1]: *** [HPCCSystemsGraphViewControl/CMakeFiles/HPCCSystemsGraphViewControl.dir/all] Error 2
make: *** [all] Error 2

... And I was too lazy to look further for the source of the problem :)

Threading issue

Need to sync loading of new layout back to main thread (this is regression since switching to FireBreath base classes,

GetLocalisedXGMML getting too many vertices

Edges from global data items are ignored when rendering the graph (as it makes the graph too complex).

But these edges are still used when calculating "localised" graphs, which gived the appearance of including additional vertices and subgraphs.

Corrupt layouts

Somtimes the DOT layout can return corrupt clusters (subgraph) boxes.
These boxes do not contain all child clusters/vertices which in turn breaks the hit testing and selection code.

Add "Safe Mode"

In "Safe Mode" the graph should disable splines and disable "FixSubgraphSizes".

This is in response to a specific graph which is crashing.

Save As Image

Add ability to save as bmp etc.

Also make Save As SVG visible.

Boost version < 1.48 required? Should mention in the Readme

When using Boost version 1.50:

[ 99%] Building CXX object graphrender/CMakeFiles/graphrender.dir/GraphRender.cpp.o
In file included from /opt/local/include/boost/filesystem.hpp:15:0,
from /Users/gkrasnow/ExternalProjects/HPCC/GraphControl/libs/graphrender/precompiled_headers.h:61,
from /Users/gkrasnow/ExternalProjects/HPCC/GraphControl/libs/graphrender/GraphRender.cpp:22:
/opt/local/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
make[2]: *** [graphrender/CMakeFiles/graphrender.dir/GraphRender.cpp.o] Error 1
make[1]: *** [graphrender/CMakeFiles/graphrender.dir/all] Error 2
make: *** [all] Error 2

Graph control failing to render graphs, when connected to some Eclwatch servers

I have tried the latest (master) and candidate-6.10.x graph controls, pointing a browser (chrome or Firefox) at my local setup, navigating through a workunit page to a graph - the graph renders fine.

f I try to point to e.g. one of the dataland eclwatch pages and do the same, I get the grey boxes, but nothing else.
However, if I get the full URL for the graph (via the Copy URL button) and paste that into chrome, then it works..

@GordonSmith

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.