Import opens a Fieldgraph file (.md) that you or someone else exported. If you already have a diagram open, you can merge the file into it, so both people’s work ends up in one diagram.
Import a file
- Click Import a file in the left rail.
- Do one of these:
- Click Choose a file and pick the .md file.
- Paste the contents of the file into the box, then click Import file.
You can also drag the .md file from your computer and drop it anywhere on the canvas.
What happens next depends on what is open:
- Nothing of yours is open (an empty canvas or the sample): the file opens as a new diagram.
- You have a diagram open: Fieldgraph asks Open or merge?
Open or merge?
The dialog shows the name of the file, who exported it, and how many objects and fields it has. Choose one:
| Choice | What it does |
|---|---|
| Merge into your diagram | Brings their changes into the diagram you have open. |
| Open as a new diagram | Keeps the file separate. The diagram you have open stays as it is. |
If the file comes from the diagram you have open, the merge choice is marked Same diagram.
How a merge works
A typical round trip looks like this:
- You export your diagram and send the file to a colleague, for example Priya.
- Priya imports it, adds comments and proposals, exports it and sends it back.
- You import Priya’s file and choose Merge into.
Fieldgraph compares three things: your diagram now, Priya’s copy, and the file you first sent. Then it decides:
- Changes only one of you made are taken automatically. This includes new fields, edits and removals.
- When you both changed the same thing in different ways, you choose.
- Comments from both of you are always kept.
- Positions on the canvas: an object moves to Priya’s position only if you did not move it yourself.
Review the merge
The Merge changes screen has two parts.
Needs your choice
Each item shows what was changed (for example a field’s Label or Description) and the two values. Click the one you want:
- Yours keeps your value. This is selected to begin with.
- Priya’s (the other person’s name) takes their value.
- Keep both keeps both texts, one after the other. This is offered only for text: descriptions, notes, help text and suggested changes.
To answer everything at once, click Keep all mine or Take all theirs. You can still change single items afterwards.
Sometimes one of you removed something that the other changed. This shows as Removed or changed, and you choose which one wins.
Taken automatically
This list shows what will be merged without a question, grouped by person: Added, Removed, Changed and Comments. Open it to check what is coming in.
When you are ready, click Merge changes. To stop without changing anything, click Cancel.
You can always go back
Before a merge, Fieldgraph saves your diagram as its own version. If the merge was a mistake:
- Open Your diagrams.
- Open the diagram’s versions.
- Click the version from before the merge.
See Saving and versions.
When Fieldgraph does not know where their copy started
Sometimes you see this note: This browser has no record of where their copy started. This happens when the file did not start from an export made in this browser. For example, you exported from another computer, or your browser data was cleared.
The merge is still safe:
- Nothing is removed. Everything from both copies is kept.
- Every difference is shown under Needs your choice.
Tip
For the smoothest merges, always send people a file exported from the browser where you will merge it back.
If the file cannot be opened
Fieldgraph shows That file could not be opened with the reason. The most common reason is that the file is not a Fieldgraph file, or its top part was changed by hand. See Troubleshooting.