The Kuzu.App.NetworkGraph module defines a network schema using Kuzu.Graph.Schema. This schema models social and professional relationships between individuals, companies, posts, and comments, allowing for robust querying and data modeling for network-based applications.
The module is designed to represent social and professional connections in a network graph. Key entities include Person, Company, Post, and Comment, each with specific attributes. Relationships define how these entities interact within the network, including social relationships (friendships, follows), professional relationships (employment, management), and content interactions (authorship, likes, comments).
- Social Networks: Represent friendships, followers, and authored posts.
- Professional Networks: Model employment, roles within a company, and reporting lines.
- Content Sharing: Track authored posts, likes, and comments.
To use Kuzu.App.SocialNetwork, you must first have the Kuzu.Graph library installed:
def deps do
[
{:kuzu_ex, ">= 0.0.0"} # Add the correct version here
]
end