fujaba / org.fujaba.graphengine

This project's aim is to build a graph engine, that is able to build and compare graphs - and to match patterns and apply actions on the graph, to effectively use it as a graph-transformation framework.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

improve visualization #27

Closed hoechp closed 7 years ago

hoechp commented 7 years ago

improve visualization, possibly using alchemy.js instead of sigma.js - also maybe generate html files instead of json files for another html to read, many browsers have problems with external files from the filesystem.

hoechp commented 7 years ago

alchemy ferryman

hoechp commented 7 years ago

roadwork I don't know, why it doesn't look that symmetrical - but according to the number of states, it seems to be right

hoechp commented 7 years ago

Something crashes, if you try to zoom or shift things - and I removed the click handlers for now.

It's supposed to be rather minimalistic - but I could always improve all kinds of things regarding the visualization.

hoechp commented 7 years ago

I think it looks not quite symmetric, because the reachability graph is calculated in a depth-first order. Unlike with a real search, where you look for a path, here it doesn't matter if it's breadth-first or dept-first in terms of memory or time for a single check. But possibly it could influence overall performance, because potentially more states will be known with lesser depth, when using breadth-first search, making more graphs fail to become a new rg-node in the end. I just have to try out and compare.. Also with breadth-first order, the graph would certainly look much more symmetrical, using alchemy.js