After CORS issue resolved, now diagram is working