mkozakov / pgraph Goto Github PK
View Code? Open in Web Editor NEWPlatform for creating and editing pedigree graphs
Platform for creating and editing pedigree graphs
if you press on the calendar button and then click anywhere outside the menu -> the menu disappears but the calendar is still there.
on Action:
is save scheduled?
-NO: schedule a save in 30 seconds
on 30 seconds:
save
is save scheduled = false
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...?
make printable version:
black and white,
use patterns for disorder shapes,
no hoverboxes and menus
a box in the bottom with a chart of disorders and their corresponding color
a draggable outline of the node.
click to add identity,
drag to merge identity
should they have partnership handles?
What if you don't know the month and the day?
should you also be able to select only a year and month? (IE died sometime in july 2002)
gestation time calls setGestationTime and sends an 'options' object as a parameters, but should send options.value instead,
right now, the transformation string gets incremented with more transformations every time.
find a way to at least reset the transformations after letting go
the recommendation list goes outside of the canvas
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.
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).
Dragging a disorder onto a node breaks the node's menu.
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.
white backgrounds are soooo 2002...
Reposition the nodes elegantly when window gets resized.
does connection disappear? can gender be changed?
kind of like snakes, only they're used to connect pedigree nodes
create aborted shape (mini triangle).
Deal with (disable?) irrelevant properties in the menu
zoom bar
zoom in/out buttons
scrolling
replace birth date picker with conception date picker
should check if the partner is an odd amount of partnerships away
Track actions, and know their opposite actions so that user can UNDO and REDO
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.