Sun 6 Jan 2013 9:53PM

Diaspora reshare visualization

M matl Public Seen by 77

As I promised Faldrian, I would like to share his feature with you:

Posted by codehero@nerdpol.ch:

" I think Faldrian 's (faldrian@pod.geraspora.de) reshare tree graph should be added to the official Diaspora code → https://nerdpol.ch/posts/140805
Now, what it does is: It analyses all the hierarchies of reshares of a post and displays them in a tree graph. It also shows how many likes and comments of the respective reshares.
Now mablae@pod.geraspora.de changed the code around a bit and made an implementation with 3d.js so it looks like a net and you can move it around.
Either one or both of them should be added to Diaspora and be made available with a button in the single post view. Then when you press the button the graph should lay over the post, quite like a fancybox.
The first picture shows Faldrian's implementation, the second Mablae's and the third one how it could look with the button in the single post view.

Link: http://mablae.taurus.uberspace.de/diaspora_vis/

The Sources for the 3D.js Implementation are here: https://github.com/mablae/diaspora-reshare-visualization "


Flaburgan Sun 6 Jan 2013 10:02PM

We definitely need to improve how reshares are displayed, see the same post in the stream reshared a lot of time is really heavy. But I am not sure that solve the problem.

Can you please ask to Faldrian to come on github and open an issue describing his work ?


matl Sun 6 Jan 2013 10:46PM

I think Faldrian is out of time at the moment.
I invited mablae@pod.geraspora.de to loomio. Maybe he could answer you a few questions?


Ma Blae Sun 6 Jan 2013 10:59PM

Da bin isch :D


matl Sun 6 Jan 2013 11:04PM

ok @flaburgan - @mablae is the creator of the diaspora-reshare-visualization tool: it works with 3d.js and with php in the backend.

Feel free to ask him different facts about it ;)


Sean Tilley Mon 7 Jan 2013 4:16AM

It'd be amazing to get a view like this for reshares at some point, to track how many people are sharing your posts. I really like how this also displays how many comments and likes are on each reshare.


Jonne Haß Mon 7 Jan 2013 4:15PM

Again, if someone wants to do it in a proper way. But single post view is first.


Jonne Haß Mon 7 Jan 2013 4:16PM

In the mean time I think I'd like to see a pure JavaScript implementation, that could be easily integrated into Diaspora then too, maybe in a facebox or something.


matl Mon 7 Jan 2013 4:40PM

@mablae can you realize a pure JS version of it?
@mablae Kannst du das in purem JS umsetzten?


Sean Tilley Mon 7 Jan 2013 6:24PM

In all reality, you could probably port the JS to backbone, and just recreate the PHP backend in Rails. It'd be cool to use a visualizer to see how far a post gets reshared.

Jonne is right though, the single post view has to go.


Ma Blae Mon 7 Jan 2013 6:34PM

Sure, this is possible with Ruby and JS, too. But I dont know ruby :( So, if someone will do the ruby part, I could fix the JS to make it fit into pages.

New Functions:
- The size of the "circles" is derived from comment count on that post.
- Hover Highlight
- Tooltip Box showing reshare, likes, and comment count.

Still working on it!


Jonne Haß Mon 7 Jan 2013 6:41PM

Isn't a pure JS implementation possible too? I'd love to take the load of that to the client, we've enough scaling issues already.


Flaburgan Tue 8 Jan 2013 11:27AM

@mablae do you know backbone.js ? It will be very amazing to have your tool in backbone.

Thank you for your work !