New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relationship Graphs #357
Comments
This is the lowest hanging fruit in my opinion. Having this feature would do the most in making Monica a complete product, for me. |
yes was very dissapointed that I could not have a significant other listed as a separate person instead of basically a note on the person. |
The linking of contacts is now implemented and working, this issue should be (and remain?) only for the graph part :) Would also love to see this! |
:D |
Are you aware of a tool that would help me build those relationship graphs? |
https://github.com/lazychaser/laravel-nestedset Edit: Although, the above seems more suited for family relationships and not so great for work, friend networks. And if you wanna get really into it: https://en.wikipedia.org/wiki/Graph_theory I guess it really depends on how your database is setup. Network graphs and d3.js seem like the things to google. |
@djaiss The graph part of this interests me. I am willing to find the tool and build them. I just need some guidance on what we are looking for visually. |
@turtles2 It's been a while since I've looked at this project, but I'd be willing to play around with the current ui for a few days and come up with a UI/UX mockup if any code contributors are interested. I can't remember what my line of thinking was in my last comment, but GraphQL comes to mind now. Wonder if that could make things easier. |
@dancyfits imho GraphQL is unrelated with the relationship graph concept. GraphQL is an alternative to traditional REST APIs, and the work to implement it in Monica would take months and months. @turtles2 @dancyfits before finding out how it should look like, we should define what it would do, considering the current structure of the relationships between contacts. Also I need to be convinced that we need this feature, because I'm not sure what it would bring 😀 |
@djaiss My interest in implementing this is due to the technical nature of it. I was hoping for guidance from you and others on what it should do precisely |
@djaiss This type of problem is one of the main reasons GraphQL was built in the first place: GraphQL is not an alternative for REST APIs: Here's a video of a guy implementing GraphQL over Django, Rails, and Node in 30 minutes: Here's the GraphQL spec written for PHP: Here's a GraphQL wrapper for Laravel: |
I'd also like to be able to tag people into groups.. I have social circles.. like a workplace or hobby or group of friends. |
@cybershambles That you can do. On a contact's page, "Edit tag" under their name. |
Agree that GraphQL is not relevant to this issue -- it's a tool for building APIs, but this issue is about visualizing a graph. I've used this front-end graph framework in the past, and it's pretty solid and well-maintained: http://js.cytoscape.org/ If Monica already has API endpoints to get all contacts and all relationships, then visualizing such a graph isn't a very large task. Do these endpoints exist? Just visualizing the social graph is the MVP, but other neat feature could be:
|
Maybe this script will be somehow helpful in implementing a built-in feature: https://github.com/jmcker/monica2neo4j |
Imagine I Added person X, added person Y, added Child Z.... I'd love to be able to link there people together automatically as people
then have them displayed as as graph.
also, you cannot link existing people
Doesn't seem to actually link the people.. just added the text field?
The text was updated successfully, but these errors were encountered: