The invention is directed to a treatment of diabetes, a scaffold and a method of preparing a scaffold. In a first aspect, this object is met by providing a scaffold comprising beta cell aggregates, wherein the aggregates are distributed over the scaffold in a predetermined pattern.Linvention concerne un traitement du diabète, un échafaudage et un procédé de préparation dun échafaudage. Dans un premier aspect, cet objectif est satisfait par la fourniture dun échafaudage comprenant des agrégats de cellules bêta, les agrégats étant répartis sur léchafaudage suivant un motif prédéterminé.