rewritten export graph