Skip to content

Commit 1f5af06

Browse files
committed
Update README
1 parent d8407dd commit 1f5af06

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ $BROWSER graph2.png
5252
- **Key Steps:**
5353
1. Downloads JSON data from a URL and normalizes it to a list of workgroups.
5454
2. Iterates through all workgroups, extracting and sanitizing relevant entities and relationships.
55-
3. Adds nodes and edges for workgroups, meetings, people, documents, agenda items, actions, decisions, tags, and emotions.
56-
4. Sanitizes all node and edge attributes to ensure compatibility with the GEXF format.
57-
5. Exports the resulting graph to `all_workgroups_graph_sanitized.gexf`.
58-
6. Optionally visualizes the graph in Python using Matplotlib.
55+
3. Forces `meeting_node_id` to be unique by appending the top-level index when `workgroup_id` is missing or not unique.
56+
4. Ensures all node IDs are strings for compatibility.
57+
5. Adds nodes and edges for workgroups, meetings, people, documents, agenda items, actions, decisions, tags, and emotions.
58+
6. Sanitizes all node and edge attributes to ensure compatibility with the GEXF format.
59+
7. Prints counts of nodes and edges before and after sanitization, and prints sample node IDs so you can confirm the graph structure.
60+
8. Exports the resulting graph to `all_workgroups_graph_sanitized.gexf`.
61+
9. Optionally visualizes the graph in Python using Matplotlib.
5962

6063
The script prints diagnostic information about the graph structure and attribute types before and after sanitization, ensuring the exported GEXF file is valid and ready for use in Gephi or other graph analysis tools.

0 commit comments

Comments
 (0)