Skip to content
This is source code of graphonline service. Graphonline helps visualize graph and applies a lot of algorithms.
Branch: master
Clone or download
Oleg Sh
Latest commit 381d647 May 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cgi-bin fix php cgi scripts. Renamed BFS. May 25, 2019
core Added test cgi page Feb 13, 2019
en/wiki Fix https in statistic. Added auto redirect to https for en/wiki Apr 28, 2019
fonts first commit Apr 14, 2017
i
lang added button for open source page May 12, 2019
lib first commit Apr 14, 2017
model first commit Apr 14, 2017
script fix php cgi scripts. Renamed BFS. May 25, 2019
src added button for open source page May 12, 2019
styles first commit Apr 14, 2017
tmp
tpl Added opensource page May 11, 2019
wiki https redirect for wiki Apr 20, 2019
.htaccess Added auto redirect to https Apr 20, 2019
LICENSE.MIT Added license May 10, 2019
README.md
favicon.ico first commit Apr 14, 2017
index.php first commit Apr 14, 2017
robots.txt Disabled crawler Apr 27, 2018
sitemap.xml Disabled crawler Apr 27, 2018

README.md

About graphonline

This is source code of graphonline service. Graphonline helps visualize graph and applies a lot of algorithms.

License

MIT License.

Requirements

Client side:

  1. HTML5 support of client side.

Server side:

  1. PHP 5.6
  2. Binary cgi supports. It needs for some algorithm, but almost all can work without it.

How to run

  1. Download repository to local website folder. It should be placed into root of domen. It can work wrong from subdirectory.
  2. Change access rights of directory /tmp. PHP scripts need to create and modify files inside it.
  3. Run file from browser: /script/merge.php. It merges all js files into one /script/example.js.
  4. Run file from browser: /cgi-bin/getPluginsList.php?reset. It creates file with list of plug-ins. Just optimization.
  5. Change default root password in file: /core/config/admin_sector.php
$g_config['admin_sector']['def_pwd'] = 'rootPass';
  1. Change password to wiki. Change lines:
$DefaultPasswords['admin'] = pmcrypt('pas');
$DefaultPasswords['edit'] = pmcrypt('pas');

In files: /wiki/local/config.php /en/wiki/local/config.php

  1. Maybe you need to disable autoredirect to https. Commends lines:
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

In files: /.htaccess /wiki/.htaccess /en/wiki/.htaccess

  1. Some algorithms use binary CGI file (short-path, Eulerian cycle/path and so on). If you want to run them, you need to compile GraphOffline util: https://github.com/UnickSoft/GraphOffline. And place it with name /cgi-bin/GraphCGI.exe

3th-party

  1. Micron (http://zmicron.itkd.ru/) is our engine.
  2. PmWiki (https://www.pmwiki.org/) in folders: /wiki/ and /en/wiki/
  3. And others: jquery (https://jquery.com/), bootstrap3 (https://getbootstrap.com/), fontawesome (https://fontawesome.com/).

Supports & feedback

You can write on github to @UnickSoft or to email admin@graphonline.ru

You can’t perform that action at this time.