Textile systems, coloured graphs and their applications to higher-rank graphs