User Story
As a developer using the eknowledge package,
I want a visual example of graph generation in the README
so that I can quickly understand how to visualize extracted relationships.
Background
The current README's code example only shows text-based graph output ([{'from': 'quick brown fox', 'relationship': 'interacts_with', 'to': 'lazy dog'}]), which fails to demonstrate practical visualization. This creates friction for users who need to validate graph structures visually. The execute_graph_generation function in main.py already returns graph data - we should extend the example to show NetworkX-based visualization.
Acceptance Criteria
User Story
As a developer using the eknowledge package,
I want a visual example of graph generation in the README
so that I can quickly understand how to visualize extracted relationships.
Background
The current README's code example only shows text-based graph output (
[{'from': 'quick brown fox', 'relationship': 'interacts_with', 'to': 'lazy dog'}]), which fails to demonstrate practical visualization. This creates friction for users who need to validate graph structures visually. Theexecute_graph_generationfunction inmain.pyalready returns graph data - we should extend the example to show NetworkX-based visualization.Acceptance Criteria
README.mdto include a graph visualization example after the existing text outputexample_graph.png• Includes
import networkx as nxandimport matplotlib.pyplot as plt• Uses distinct colors for nodes/edges
• Shows both text output AND displayed/saved visualization
pip install networkx matplotlib