mkalus / segrada

Segrada - Semantic Graph Database
http://www.segrada.org/
Other
68 stars 14 forks source link

[Feature Request] Larger Pictograms for nodes in graph and line wrap for Titles in Graphs #56

Closed StoltHD closed 3 years ago

StoltHD commented 5 years ago

Would it be possible to ask for bigger pictograms in the Graph View?

I would like to use Logos for different Companies to better visualize them...

It would also be great if you could add Line Wrapping for the Title in Graph View... Reason for this is that when you have Nodes with long Names, i.e. a Government Office og a Company or the full name for a Museum/Library, the Title Text will often cover Titles of other Nodes...

It would also be great if we could chose to use the Description of Relations as descriptors for the Relations in the Graph View, instead of the Relation Type.

StoltHD commented 3 years ago

When I wrote "linewrap of titles" here, it should have been "line wrap of labels".

But a pop up Title or a pop up for the description of a node or edge on "hoover over" would be a great feature to.

And regarding the Pictograms, I try to use logos for some companies, or images of i.e. ships, but those will not be viewable because of the resize/rendering. I am not sure if it can be done with pictograms, but maybe you could see if you could add support for image shapes, and maybe there is some scaling functions on those?

mkalus commented 3 years ago

Line breaks have been introduced in vis.js, so implemented them.

Regading the other wishes, I may take a look if there is a time contingent left on the current project.

mkalus commented 3 years ago

I am looking into the issue with small pictograms. You are right.

Currently, pictograms are created as 24x24px images, but in the graph they are rendered as 50x50px pictures. It might help to create 48x48px images in order to render pictograms nicely on high resolution monitors (i.e. Mac) anyway and I guess nowadways, the disk size used by pictograms is not a problem any more.

The only downside is, that you will have to upload your pictograms again...

mkalus commented 3 years ago

Also a TODO for me: support uploading SVG images as pictograms.

mkalus commented 3 years ago

Ok, implemented changes and scheduled for next release v0.5.4.