add resource
add graph source