Piccolo2D on web?

60 views
Skip to first unread message

Ajaz Hussain

unread,
Dec 23, 2013, 5:10:05 AM12/23/13
to piccolo...@googlegroups.com
Dear All,

I have developed an application related to GraphEditor example using Piccolo2D.JAVA, which is capable to visualize graphs, and apply force-directed algorithm for layout of the graph. It's a desktop application.

I want to implement it on Web, like I found an example on D3.js (http://bl.ocks.org/mbostock/4062045).

I don't want to switch on D3.js. What can I do with Piccolo2D? How can I port my existing desktop app into web similar to above D3 example? By using Applets or what?

Looking forward for your kind reply!

Thanks and Regards,
--
Ajaz

Michael Heuer

unread,
Dec 23, 2013, 2:17:29 PM12/23/13
to piccolo...@googlegroups.com
Hello Ajaz,

You have several options.

If you don't want to change the code much, you can distribute it as an
applet or as a JNLP application.

http://en.wikipedia.org/wiki/Java_applet
http://en.wikipedia.org/wiki/Java_Web_Start

You might also use Piccolo2D via Processing

http://processing.org
https://github.com/heuermh/piccolo2d-processing

and use its export to applet functionality.

If you don't mind porting to javascript, you may wish to take a look
at Piccolo2D.js

https://github.com/allain/piccolo2d.js

Finally, if you would like to take advantage of existing directed
graph & layout functionality in javascript, I would recommend
Cytoscape.js

http://cytoscape.github.io/cytoscape.js/

michael
> --
> You received this message because you are subscribed to the Google Groups
> "Piccolo2D Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to piccolo2d-use...@googlegroups.com.
> To post to this group, send email to piccolo...@googlegroups.com.
> Visit this group at http://groups.google.com/group/piccolo2d-users.
> For more options, visit https://groups.google.com/groups/opt_out.

Ajaz Hussain

unread,
Dec 24, 2013, 11:15:52 AM12/24/13
to piccolo...@googlegroups.com
Hi Michael,

Thanks a lot for giving me multiple options. That's really nice to know. I will be porting to Javascript.

Thanks again!

Best Regards,
--
Ajaz


Reply all
Reply to author
Forward
0 new messages