display chain with svg in gui