Skip to content

Commit d8407dd

Browse files
committed
Update README
1 parent af0629d commit d8407dd

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,17 @@ $BROWSER graph2.png
4444
```
4545

4646
### GEXF-Export Script
47+
### GEXF-export.py
4748

4849
- **Purpose:**
49-
Exports the constructed network graph to a GEXF (Graph Exchange XML Format) file, enabling further visualization and analysis in graph tools such as Gephi.
50+
Fetches all meeting summaries from a remote JSON file, builds a comprehensive directed graph of workgroups, meetings, people, documents, agenda items, actions, decisions, tags, and emotions, and exports the graph to a GEXF (Graph Exchange XML Format) file for further visualization and analysis in tools such as Gephi.
5051

5152
- **Key Steps:**
52-
1. Extracts nodes and edges from the source dataset or graph object.
53-
2. Structures the network data according to the GEXF specification.
54-
3. Writes the resulting graph to a `.gexf` file (e.g., `all_workgroups_graph_sanitized.gexf`).
55-
4. The exported file can be opened in Gephi or other compatible tools for interactive exploration.
56-
57-
The GEXF-export script generates a network graph in the GEXF (Graph Exchange XML Format) file format. It extracts data about nodes (such as workgroups, users, or other entities) and their relationships (edges) from the source dataset, then structures this information according to the GEXF specification. The resulting .gexf file can be visualized and analyzed using graph analysis tools like Gephi. This allows users to explore the connections and structure of the network represented in in the data.
53+
1. Downloads JSON data from a URL and normalizes it to a list of workgroups.
54+
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.
59+
60+
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)