Dijkstra Simulator

Could someone provide a reference for a Dijkstra simulator?

  Ideally this would take three sets of inputs (links, nodes,
  metrics) and produce edge-pair traffic flows.

  Any suggestions appreciated, especially for GPL stuff that has
  code.

  -a