UnickSoft / graphonline

This is source code of graphonline service. Graphonline helps visualize graph and applies a lot of algorithms.
http://graphonline.ru/en/
MIT License
367 stars 67 forks source link

Graph improvement #10

Closed hram closed 4 years ago

hram commented 4 years ago

Hi First of all thank you for solution. I was try to modify some behavior. For example in my case I need to know vertex ID I add opportunity to display vertex ID when vertex is selected and when I rename it. изображение изображение

And what I wery need is to add new algorithm but I do not know how ( Can you help me with my new algorithm?

PS when I click on algorithms button I have nothing ( изображение

UnickSoft commented 4 years ago

Hello.

Have you done this instruction:

Run file from browser: /cgi-bin/getPluginsList.php?reset. It creates file with list of plug-ins. Just optimization.

To add new algorithm you need place it into /script/plugins and run cgi-bin/getPluginsList.php?reset. After that it should appear in drop menu.

hram commented 4 years ago

Yes I do. And file in tmp dir with list of algorithms is exists.

hram commented 4 years ago

@UnickSoft I think I'v found problem first time I set SiteDir without slash var SiteDir = "graph"; and when I fix it script dos not modify variable when I edit file example.js algorithms list is fixed var SiteDir = "graph/";