Disable "Generate" button during graph loading. Removed unused variable.
Deny input with negative link weights.