Git Product home page Git Product logo

genogram-generator's People

Contributors

scichelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

genogram-generator's Issues

Distance from Lineage

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

Try Fixie for the test framework instead of nunit

Emit json for d3

Just tracer-bullet proof-of-concept, get the Generator to, uh, generate. Simple case.

Distance between spouses

Calculate and apply distance between spouses based on allowing enough room for their children.

My Width

Calculate and apply the amount of width a person needs, to accommodate their spouse and children

Generation

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.

Total Size of 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).

Calculate position and lineage based on relationships

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.