{"id":15680935,"url":"https://github.com/carlonicolini/graphinsight","last_synced_at":"2025-06-24T07:07:45.678Z","repository":{"id":147730066,"uuid":"42707653","full_name":"CarloNicolini/GraphInsight","owner":"CarloNicolini","description":"GraphInsight is a visualization software that lets you explore graph data through high quality interactive representations.","archived":false,"fork":false,"pushed_at":"2019-06-25T15:20:59.000Z","size":35963,"stargazers_count":25,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T07:50:00.725Z","etag":null,"topics":["3d-graphics","graph-drawing","graph-theory","visualization"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CarloNicolini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-09-18T07:56:06.000Z","updated_at":"2025-05-11T19:43:05.000Z","dependencies_parsed_at":"2023-05-27T07:50:32.547Z","dependency_job_id":null,"html_url":"https://github.com/CarloNicolini/GraphInsight","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CarloNicolini/GraphInsight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloNicolini%2FGraphInsight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloNicolini%2FGraphInsight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloNicolini%2FGraphInsight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloNicolini%2FGraphInsight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarloNicolini","download_url":"https://codeload.github.com/CarloNicolini/GraphInsight/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloNicolini%2FGraphInsight/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261624959,"owners_count":23186118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-graphics","graph-drawing","graph-theory","visualization"],"created_at":"2024-10-03T16:46:38.668Z","updated_at":"2025-06-24T07:07:45.625Z","avatar_url":"https://github.com/CarloNicolini.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphInsight\nGraphInsight is a visualization software that lets you explore graph data through high quality interactive representations.\n![GraphInsight video](https://raw.githubusercontent.com/CarloNicolini/GraphInsight/master/resources/images/animation.gif)\n\n## How to build\n### WINDOWS\nBuilding GraphInsight for Windows is rather cumbersome and you need to pay some attention to details. In particular you must be sure that the Qt libraries are the ones built for your same compiler and, in order to package all the project and generate the setup.exe you need other external programs, such as 7-zip and NSIS.\n\n* For code checkout\n1. Install GIT for Windows. We suggest to use Tortoise GIT as git user-interface: \n\thttp://code.google.com/p/tortoisegit/\nFollow the installation instructions on TortoiseGIT website for further information on how make git available on \nyour Windows computer.\n\n### For building:\nInstall as follows in this order:\n\n1. Install Microsoft Visual Studio 2008 or Microsoft Visual Studio 2010. You can build GraphInsight also with free version of \nthe Microsoft Visual Studio, namely \"Visual Studio Express 2008\" or \"Visual Studio Express 2010\". Build process is not tested with Visual Studio 2012 or newer. \n2. Install CMake for Windows, the latest version tested is the 3.2 http://www.cmake.org/\n3. Install Qt 4.8.4 SDK. It is very important that the binaries of Qt 4.8.4 SDK **MATCH** your current version of Visual Studio.\nhttp://download.qt-project.org/official_releases/qt/4.8/4.8.4/qt-win-opensource-4.8.4-vs2008.exe\n4. Install the latest Python 2.7.x for Windows. We currently don't support Python 3.x http://python.org/ftp/python/2.7.5/python-2.7.5.msi\nWhen installing it, don't change the default settings for the installation, so Python will be under `C:/Python27`\n* For packaging\n5. Install NSIS (a sfor package creation) http://nsis.sourceforge.net/Main_Page\n6. Install 7zip for Windows (for package creation) http://www.7-zip.org/\n\nBe sure that you have the following directories in your system Path:\n\n```\nC:\\Program Files (x86)\\CMake 2.8\\bin;\nC:\\QtSDK\\Desktop\\Qt\\4.8.4\\msvc2008\\bin;\nC:\\QtSDK\\Desktop\\Qt\\4.8.4\\msvc2008\\lib;\nC:\\QtSDK\\Desktop\\Qt\\4.8.4\\msvc2008\\include;\nC:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE\\;\nC:\\Program Files (x86)\\7-Zip\\;\n```\n\nOpen a command prompt and try to isse the following commands:\n\n```\n\"devenv\" #This should open Visual Studio\n\"cmake\" # This should run cmake\n\"7z\" # this should run 7zip\n```\n\n### AUTOMATIC BUILD INSTRUCTIONS\nWe provide a simple \"deployWin32.bat\" script that allows you to deploy all the GraphInsight versions in one step. If you are lucky enough and all\nthe things already mentioned were installed correctly, a double click on it would suffice:\n\n\n### MANUAL BUILD INSTRUCTIONS\n\nIf the deployWin32 script didn't work you have to set up things manually. \nOnce you have installed everything, you must run CMake for the first time in order to generate the Visual Studio solution.\nOpen the CMake GUI interface. Select the base folder where you've checked out the GraphInsight repository.\nThe content of \"Where is the source code\" and \"Where to build the binaries\" must be the SAME.\n\nYou can do the same in order to set the Debug/Release version.\n\nIf you prefer to use cmake from command line, then you just have to change to the base directory of GraphInsight (for example, suppose \nyou've downloaded GraphInsight source code in \n\n```{r, engine='bash', count_lines}\nC:\\Users\\username\\Desktop\\graphinsight_base_directory)\n```\n\nand then:\n```{r, engine='bash', count_lines}\nC:\\\u003e cd C:\\Users\\username\\Desktop\\graphinsight_base_directory\\build\ncmake -D CMAKE_BUILD_TYPE=Release ..\n```\n\nIf CMake process went fine, then you have to open the solution file \u003cb\u003eGraphInsight.sln\u003c/b\u003e in the same folder of GraphInsight and try to build the \nsub-project GraphInsight.\n\n### WINDOWS BUILD FAQ\nIf you get side-by-side configuration is incorrect it's because in the installer no runtime libraries are included.\nSo you have to manually check that the following files are redistributed with the pack:\n\n```\nmsvcm90.dll\nmsvcr90.dll\nmsvcp90.dll\nvcomp90.dll\n```\n\nIf you have problem when compiling with OpenMP active, you have to be sure that the correct path of the OPENMP msvc library is correct, because I've included it brute-force\nbecause of a bug in CMake (currently still a bug in version 2.8, this is discussed in src/graphinsight/CMakeLists.txt)\nIf you are using Visual Studio 2010 the files are instead:\n\n```\nmsvcm100.dll\nmsvcr100.dll\nmsvcp100.dll\nvcomp100.dll\n```\n\nIf you still experience problems of this kind, try to disable the OpenMP support from the main CMakeLists.txt, by commenting the following lines:\n\n```{r, engine='cmake', count_lines}\nIF(NOT APPLE)\n    include(FindOpenMP)\n    IF(OPENMP_FOUND)\n\tSET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}\")\n\tSET(CMAKE_EXE_LINKER_FLAGS \"${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}\")\n    ENDIF(OPENMP_FOUND)\nENDIF(NOT APPLE)\n```\n\nWe didn't enable OpenMP on Apple explicitly because of a bug of Qt when is spawning a layout thread.\nThe QThread and OpenMP seem to interfere in a bad way, causing a segfault crash. \n\n---\n## LINUX\nIn order to correctly build the packages for 64 bit linux, please download the latest \"cmake\".\n\nHere we provide instructions to build on debian-based distributions (I'm using Ubuntu 14.04 x86_64)\n\n```{r, engine='bash', count_lines}\n$\u003e sudo apt-get update\n$\u003e sudo apt-get upgrade\n$\u003e sudo apt-get install libglew1.9 libglew1.9-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev libxi-dev libxmu-dev libxmuu-dev qt4-dev-tools build-essential rpm\n```\n\n---\n### MAC OSX\nGraphInsight build is tested and it works on OSX-10.5.8 system. No newer OSX system has already been tested for the build process.\n\nIn order to build GraphInsight for OSX you need the following programs:\n\t* XCode 4\n\t* git (should be included in the XCode installation)\n\t* Qt 4.8 (you can download Qt for Mac-OSX at the following website: http://qt-project.org/downloads )\n\tWe suggest to first install Qt libraries 4.8.4 for Mac (185 MB) and then install the latest Qt Creator tool (Qt Creator 2.7.1 for Mac (Intel 32/64bit)) as preferred tool for GraphInsight code editing.\n\n\t* http://download.qt-project.org/official_releases/qt/4.8/4.8.4/qt-mac-opensource-4.8.4.dmg\n\t* http://download.qt-project.org/official_releases/qtcreator/2.7/2.7.1/qt-creator-mac-opensource-2.7.1.dmg\n\n* Check your current version of Python:\n```{r, engine='bash', count_lines}\n$\u003e python --version \n```\n\nFirst of all set the environment variable:\n\n```{r, engine='bash', count_lines}\n$\u003e export MAC_OSX_DEPLOYMENT_TARGET=10.5\n$\u003e git pull\n$\u003e cmake -DCMAKE_BUILD_TYPE=Release -DLICENSE_TYPE=Pro .\n$\u003e make GraphInsight\n$\u003e sudo macdeployqt build/GraphInsight.app\n```\n\nEnsure that the following folder is inserted into the Bundle:\nGraphInsight.app/Contents/Frameworks/Python.framework\n\nOnly if you have dependencies problems, you can run the following commands:\n\n```{r, engine='bash', count_lines}\ninstall_name_tool -change /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.5/Python GraphInsight.app/Contents/MacOS/GraphInsight\n```\n\nYou should also indicate which Python library it must be added in the bundle. Avoid the MacPort library, because is not build for multiarchitecture (both i386 and x86_64)\n\n```{r, engine='bash', count_lines}\n$\u003e export DYLD_LIBRARY_PATH e cercare di evitare /opt/local/lib/libpython2.7.dylib\n```\n\nFor Python dependencies, install the universal binaries from macport\n\n```{r, engine='bash', count_lines}\n$\u003e sudo port install python25 +universal python26 +universal python27 +universal\n```\n\nSpecify the folder where is searching for python, directly in the CMakeLists.txt, find the rows:\n\n```{r, engine='cmake', count_lines}\n# Use the MacPort library\nset(PYTHON_LIBRARY \"/opt/local/lib/\")\nset(PYTHON_INCLUDE_DIR \"/opt/local/include/python2.5/\")\n```\n\nIn order for everything to run smoothly, everything must match (headers and binaries of python must be the very same version).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlonicolini%2Fgraphinsight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlonicolini%2Fgraphinsight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlonicolini%2Fgraphinsight/lists"}