add graph spec documentation