Add a Diagrams.net Workflow
Objective
To embed a customized workflow from the diagrams.net (previously draw.io) platform
Background
- Diagrams.net is a FREE, Google-Based Workflow Creation Program. You do not need to have a Google email address or login to use diagrams.net, but if you do, it is easy to save all work to your GoogleDrive.
Video
Steps
- Download Procore's Workflow to Edit/Use as a Template
- Adding a Diagrams.net Workflow to Your Training Center
Download Procore's Workflow to Edit/ Use as a Template
- As a Training Center Editor, you have access to Download Workflows page for access to copies of all of Procore's Already Existing workflows that you can either slightly modify or use as templates for your own custom workflows.
- Once you click on one of our workflows, click on the DOWNLOAD icon in the Upper Right Corner of the screen as shown below:
- Choose where to save your updated workflow
- If you have a Google Account, saving to Google Drive is preferred.
- If you do NOT have a Google Account, DEVICE is the most commonly used option.
- Now, choose the option to OPEN EXISTING DIAGRAM and just open the file that you just saved to either your Google Drive or Computer/ Device.
- At this point you can start editing as necessary.
Export Workflow from diagrams.net & Embed into Training Center using SVG Code
- Once you're done creating/ editing your workflow, make sure your workflow saved the most recent edits, and close and re-open the workflow.
- Choose File > Embed >SVG.
- Uncheck Lightbox. The only thing checked should be Fit.
- Click Embed.
- Delete the browser disclaimer in the code:
- Add opening and closing <div></div> tags around the SVG Code as shown below
- Warning - Do not forget to add a <div> wrapper to the code you paste in. Forgetting to do so will result in the page adding unnecessary page breaks every single time the page is put in Editor mode!
OPENING DIV WRAPPER
CLOSING DIV WRAPPER
- Warning - Do not forget to add a <div> wrapper to the code you paste in. Forgetting to do so will result in the page adding unnecessary page breaks every single time the page is put in Editor mode!
- Click Copy.
- Open the Training Center page that you would like to add the Workflow.
- Click Edit, then click Edit Live.
- Type 123 where you would like the content to appear.
- Note: Center the text if you want the item you are embedding to be centered.
- Click HTML at the top right.
- Press CTRL+F or COMMAND+F on your keyboard to open the ‘Find on Page’ function.
- Type 123 in the find field and press ENTER on your keyboard.
- Highlight 123 and replace the text with the copied embed code.
- Click Save.