...
ALTER TABLE UserTabs
ADD CONSTRAINT fk_UserTabsID FOREIGN KEY (UserID) REFERENCES User(UserID);
...
TabGraphs TabID to
...
Tab TabID
ALTER TABLE Tabs
ADD CONSTRAINT fk_GraphsTabID FOREIGN KEY (TabID) REFERENCES TabGraphsTab(TabID);
TabGraphs GraphID to Graphs GraphID
...