/** Helper for nodeShape(). */
private void assignNodeShape(final AlloyType t, final Set<AlloyType> subTypes, final boolean isTvisible, final List<DotShape> shapeFamily) {
int index = 0;
// shape for t, if visible
if (isTvisible) {
final DotShape shape = shapeFamily.get(index++);
//log("AssignNodeShape " + t + " " + shape);
vizState.shape.put(t, shape);
}
// shapes for visible subtypes
for (final AlloyType subt : subTypes) {
final DotShape shape = shapeFamily.get(index++);
//log("AssignNodeShape " + subt + " " + shape);
vizState.shape.put(subt, shape);
}
}