scichelli / genogram-generator Goto Github PK
View Code? Open in Web Editor NEWA tool for structuring and visualizing your family genogram
License: MIT License
A tool for structuring and visualizing your family genogram
License: MIT License
Indicate medical, psychological conditions
Calculate and apply an indicator of how far a relative is from the primary lineage. "me" and my parents and their parents are "1". My siblings and my spouse are also 1. My siblings spouses are 2. My parents siblings are 2? My nieces and nephews are 3... (Or something like this.)
Try Fixie for the test framework instead of nunit
Just tracer-bullet proof-of-concept, get the Generator to, uh, generate. Simple case.
Extract to functions, call more built-in functions
Calculate and apply distance between spouses based on allowing enough room for their children.
Calculate and apply the amount of width a person needs, to accommodate their spouse and children
Draw (color, thickness, style) according to emotional quality of the relationship.
Calculate and apply "Generation" property, to determine which row a person belongs in. Move the YPosition calculation out of PersonDto, since it needs to know the total height of the chart.
Calculate how high to accommodate all generations, and how wide to accommodate all people, and emit that with the json to set the chart's width and height. Also use that height to calculate the YPositions of the people (height-generation, to invert the tree).
myActualEnumerable.ShouldHaveTheSameContentsAs(myExpectedEnumerable)
regardless of the order of the two collections
This is a nice start at generating a genogram, but it would be nice if defining the people and their relationships was all that was needed to produce JSON with the correct position and generation information for D3.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.