CLIM mail archive
[Prev][Next][Index][Thread]
Re: Dragging nodes of a formatting graph
Date: Wed, 4 Nov 92 15:15:20 PST
From: Brian Anderson <bha@atc.boeing.com>
I want to use clim:formatting-graph-from-root to layout an *initial*
version of a graph. Then, I want the user to be able to drag graph
nodes to a desired position, and redraw the node and connecting
links at the new position. I also want to be able to capture the
position of each graph node so that I can write an external
representation of the graph and redraw it at a later time (possibly in
another Lisp session).
Has anyone done anything like this beast? Does anyone have any
suggestions on how to approach this? Is this going to be mega-hard?
Brian,
greetings! hope things are going well. coincidentally, I wrote
something much like this a little while ago. however, it does redraw
the graph completely after a move, unfortunately -- no special
output-recording manipulation or anything. the move command is tied
to a translator so that on a given gesture, it is animated being
dragged to the new node; currently, the moved node has to be dropped
on TOP of the new parent node. storing the position of the arranged
nodes is no problem. is this what you're interested in?
jeffrey
P.S. please send me a decent espresso. I'll pay postage.
0,,
References:
Main Index |
Thread Index