org.grinvin.gred.commands
Class SpringEmbedder
RepeaterCommand
org.grinvin.gred.commands.SpringEmbedder
public class SpringEmbedder
extends RepeaterCommand
Repeater command that changes the current embedding by means of a
spring embedder algorithm.
void | handleCancel() - Reverts to saved embedding.
|
void | handleExecute() - Consolidates the changes.
|
void | handleFirst() - Copies original embedding and initializes internal datastructures.
|
void | handleRepeat() - Performs a single adjustment of the coordinates.
|
SpringEmbedder
public SpringEmbedder(CommandManager manager,
String id)
handleCancel
public void handleCancel()
Reverts to saved embedding.
handleExecute
public void handleExecute()
Consolidates the changes.
handleFirst
public void handleFirst()
Copies original embedding and initializes internal datastructures.
handleRepeat
public void handleRepeat()
Performs a single adjustment of the coordinates.