created graph tables