Soak gelatin in cold water until swollen. Add to boiled water and dissolve while heating. To do this, put the gelatin dissolved in water into a saucepan, pour hot water into the pan, put the pan with water on low heat, and heat until the gelatin is completely dissolved.
Heat the compote (only pouring, no fruit). Add citric acid.
Add sugar. Bring to a boil, but do not boil. Pour in the dissolved gelatin.
Put fruits or berries from compote in a large form or portion molds.
Cool the compote with gelatin, pour the fruits laid in the form, and place in the refrigerator until solidification (3-4 hours).