offsetNeuronGroup
public static void offsetNeuronGroup(NeuronGroup group1,
NeuronGroup group2,
NetworkLayoutManager.Direction direction,
double amount)
Group1 stays fixed. Group2 is moved with respect to group 1 and is
centered with respect to it in the relevant direction.
Must be used after all the subgroups have been added.
- Parameters:
group1
- the reference group
group2
- the group to offset
direction
- String indication of absolute direction. Must be one of
"North", "South", "East", or "West".
amount
- the amount by which to offset the second group