GithubHelp home page GithubHelp logo

pgraph's People

Contributors

marta- avatar mkozakov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pgraph's Issues

AutoSave

on Action:
is save scheduled?
-NO: schedule a save in 30 seconds
on 30 seconds:
save
is save scheduled = false

figure out property contradictions

set fetus -> only if (alive, not donor, not surrogate, not adopted, no birth date)

set aborted -> only if (not donor, not surrogate, not adopted)

set still born -> only if (not donor, not surrogate, not adopted)

set deceased -> only if(not aborted, not still born)

set adopted -> only if not fetus

other...?

printable version

make printable version:
black and white,
use patterns for disorder shapes,
no hoverboxes and menus

automatic zooming

inital zoom level should be at a certain level. When nodes stop fitting on the screen, the zoom automatically adjusts. Similarly if a generation is deleted, the zoom should adjust accordingly.

There should be a max level for automatic zooming out, and the initial level is the max level for automatic zooming in. The manual zoom has more extreme levels.

hoverbox aftrer clicking on a menu item

if mouse is not on hoverzone, then hoverbox should hide.

if mouse is on hoverzone, then hoverzone specific actions should take place (ie. move text out of the way).

Widget Error

Dragging a disorder onto a node breaks the node's menu.

event.memo is an empty object

when we hide the menu, we fire an event and catch it here:

document.observe('nodemenu:hiding', function(event) {
if (event.memo && event.memo.node) {
var nodeBox = event.memo.node.getGraphics().getHoverBox();
nodeBox._isMenuToggled = false;
!nodeBox.isHovered() && nodeBox.animateHideHoverZone();
nodeBox.enable();
}
});

the problem is that event.memo is an empty object and event.memo.node is undefined, so all these actions don't happen.

connections

kind of like snakes, only they're used to connect pedigree nodes

disorder colors

  1. make them gradients
  2. if no color is assigned yet, make it compatible with other disorder colors on the node

legalize abortion

create aborted shape (mini triangle).
Deal with (disable?) irrelevant properties in the menu

Action Stack

Track actions, and know their opposite actions so that user can UNDO and REDO

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.