priority graph use new json style