GraphStream Users

Archives de la liste Aide


RES: Multidimensional scalling galaxy technique


Chronologique Discussions 
  • From: Matheus Silva <matheus.g.unicamp AT gmail.com>
  • To: guilhelm savin <guilhelm.savin AT gmail.com>, "graphstream-users AT litislab.fr" <graphstream-users AT litislab.fr>
  • Cc: "users AT graphstream-project.org" <users AT graphstream-project.org>
  • Subject: RES: Multidimensional scalling galaxy technique
  • Date: Tue, 2 Aug 2016 17:46:27 -0300
  • Importance: normal

Just to illustrate what i’m saying, heres a vídeo.

https://youtu.be/QQDNWuWHirU

 

 

 

De: Matheus Silva
Enviado:terça-feira, 2 de agosto de 2016 11:33
Para: guilhelm savin; graphstream-users AT litislab.fr
Cc:users AT graphstream-project.org
Assunto: RES: Multidimensional scalling galaxy technique

 

Hi Guilhelm,

Im trying to implemente the sprites approach but, something that is not clear from the documentation is: do i need to set the position of a Sprite after attaching it to a node?

Why am i asking it? Because i’m having some problems, whenever i click on the node, the first object clicked is the Sprite, and if i try to move the node, the Sprite is moved and taken of the node, as you can see on the image attached.

Is this the normal behaviour?

cid:image002.png@01D1ECB1.9ACD7E20

 

 

At the beggining of the render, all the sprites were where they are supposed to be, but when i click on the node (small black circle), the thing im able to move is first the Sprite, and than the node.

 

Att.

 

 

De: guilhelm savin
Enviado:terça-feira, 26 de julho de 2016 06:06
Para: graphstream-users AT litislab.fr; Matheus Silva
Cc:users AT graphstream-project.org
Assunto: Re: Multidimensional scalling galaxy technique

 

Hi Matheus,

You can set the css property text-background-mode to plain, and you can set the color of the box using text-background-color. Do not forget to use the advanced viewer gs-ui. Maybe you will have to play with text padding and offset to customize the rendering.

Another way could be to set the shape of the node to rounded-box, with size set to fit, and an icon, but icon alignment at bottom is not implemented.

You can also add sprites and attach it to nodes.

Cheers.

 

 

2016-07-22 17:01 GMT+02:00 Matheus Silva <matheus.g.unicamp AT gmail.com>:

Hello, i’m trying to replicate the MDS galaxy technique using the api, but i could’nt find on the documentation what i needed.

I’ve tried to search for shadow shape, it was the closest way to achieve it, but i could’nt find it.

 

Is there, any way to add these boxes around the nodes with css?

 

Thank you.




--

Guilhelm Savin
PhD of Computer Science

http://d3-project.org
http://iscn.univ-lehavre.fr
/\/\/\/\/\/\

 

 




Archives gérées par MHonArc 2.6.16.

Top of page