Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better layout #40

Closed
VladimirAlexiev opened this issue Jun 30, 2021 · 6 comments
Closed

better layout #40

VladimirAlexiev opened this issue Jun 30, 2021 · 6 comments
Labels
wontfix This will not be worked on

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Jun 30, 2021

SPEX layout is quite primitive, and there's no control

@ktk "auto-layouting is super hard, any feature requests need to be financed or contributed :)"

Graph layout is hard if you do it yourself, but can be easy if you use GraphViz or PlantUML.
See what they can do at https://www.graphviz.org/gallery/ and https://real-world-plantuml.com/.
My rdfpuml uses plantuml object (or is it class) diagrams to render RDF.

PlantUML by default uses GraphViz (which is a set of C executables) for layout, but includes other options:

Most people use Graphviz dot, but it has other parts as well, see https://www.graphviz.org/documentation/.
Dotty is an interactive editor, but I don't know how old technologies it uses.

https://www.google.com/search?q=site%3Agraphviz.org+javascript returns interesting graphviz+javascript tools, including

There are many interactive editors listed as https://graphviz.org/resources/#graphical-interfaces

@l00mi
Copy link
Contributor

l00mi commented Jul 1, 2021

@VladimirAlexiev thank you for the suggestions, we are looking for PR as this seem to be straight forward for you.

@VladimirAlexiev
Copy link
Author

It's not straightforward. I'm just wondering why you started a graph layout tool from zero.

@l00mi
Copy link
Contributor

l00mi commented Jul 2, 2021

We obviously did not start from zero, please check out the code. We also did tests with https://ialab.it.monash.edu/webcola/ (website not reachable currently) which we deemed as the most power-full and best fit so far, but it is not up-to-date anymore in regards to D3.

We definitely plan to further improve this engine, but it is not easy without any further signals from the data itself (e.g. importance, hierarchy direction, etc.).

We plan to investigate which signal are best to inform a layout engine first (remember its all introspected here). And then in a second step to go further. As the rendering is implemented right now was successfully used together with customers. (It even found its way already in a paper http://www.semantic-web-journal.net/system/files/swj2746.pdf).

@l00mi l00mi added the wontfix This will not be worked on label Jul 2, 2021
@l00mi l00mi closed this as completed Jul 2, 2021
@l00mi
Copy link
Contributor

l00mi commented Jul 2, 2021

exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants