Prepare to use pgf instead of dia