First, I have to say that I'm beginner on java so it's quite difficult to understand events.Till you wrote me, I have read documentation and examples about zoom. I have found the code which change scale. So I wrote MouseWheelActionListener to do scale action. Also found arrow keys actions and shift+R keys combination. So for my demo project is enough functionalities on zoom. But now I have other problem. When I call function display, then program start show JFrame window and create graph. But where Jframe object is created? What is his name. Because I would like to add more components to this frame. I can't understand hierarchy between View of graph and Jframe.This is my learning code. It generates to windows because i tried to put graph view to panel which is my create Jframe. Alse where are mouse actions written.Code link:Raimundas2015-11-03 15:05 GMT+02:00 guilhelm savin <guilhelm.savin AT gmail.com>:GuilhelmHope it helps...There is some code about zooming in and out the graph, and set the center of the graph.Hi,Maybe a good starting point could bould be to watch the default keys listener here : https://github.com/graphstream/gs-core/blob/master/src/org/graphstream/ui/view/util/DefaultShortcutManager.java--2015-11-02 11:28 GMT+01:00 <jasiukevicius AT gmail.com>:Hi! I would know how to write action event which zooms the graph at the mouse
position, because when I generate big data model, the spots of vertex is very
small to watch be connections.
Guilhelm Savin
PhD of Computer ScienceLITIS, University of Le Havre
\/\/\/\/\/\/
Archives gérées par MHonArc 2.6.16.