kdemarest / appsomanodepane Goto Github PK
View Code? Open in Web Editor NEWNode Pane
Node Pane
Please add the following hotkeys:
Del - deletes the currently selected node. If no node is selected, but a node is highlighted, then deletes the highlighted node.
In the next delivery, please add an 8th drag element into the fake tools pane. Please make it:
title: "BWA"
inputs: "Read Sequence" and ".fasta reference"
output: "Aligned .sam"
When the mouse hovers an Info button, that button should brighten or highlight or something in a nice looking way. See issue #12 for which buttons are meant. Use your judgement to decide what looks good.
Need to be able to zoom out until the screen is about 50 nodes wide
Sometimes the scissors icon comes up but when I go to click it it has already faded away... Please try to make it stay in place better.
When clicking one the node pane in a way that lets you drag the background, the moment the drag starts the cursor should become a 'open hand' (not pointing hand), returning to a regular mouse pointer when the dragging is complete.
The way shading looks on a node is too much like a competitor.
Lets go more iPhone icon style. Here is a sample, with a template - don't know if it will help...
When the mouse is near a port, sometimes the 'scissors' icon comes up for a nearby link. And I click it accidentally. Let's exclude the scissors from appearing too close the either end of the link, to avoid accidents.
I thought the spec included this, but if I click on a node's name, I should be able to edit that name IN PLACE and have it remember the new name.
Hitting [esc] while editing reverts the name and stops editing.
I can't test whether saving and loading is working.
Please hack two buttons called [save] and [load].
[save] - causes a textarea to come up containing the JSON representing the node graph. I can copy that to clipboard. Hitting [Esc] closes said area.
[load] - causes an empty textarea to come up. I can paste to type in JSON identical to that from any prior save operation and the resulting node structure will appear.
The original spec had a Run and Delete button appear above the node when the node was clicked. As you patterened after sbgenomics they became Delete and Info.
I'd like to change this to four buttons: [1] [2] [3] [4]
Buttons should be squared with rounded edges, rather than totally round please. See examples below.
[1] button should represent "Run", looking like a 'play' icon. Clicking it should trigger the passed-in option onRunTool(dataForThisNode)
[2] button should represent "Info", in the new square-ish shape, behaving like the existing ( i ) button.
[3] button should be an Edit button. Clicking it should call the passed-in option.onEditTool(dataForThisNode). See sample icon below (though again it should be square-ish not perfectly round)
[4] button should be an [x] to delete the node.
Here are visual samples:
When I hover node Reads Shell port Shell Input, and it has no existing connection, and also node File Sort port Input File has no existing connection, then node File Sort port Input File lights up green. PERFECT! But when I start dragging a link from node Reads Shell port Shell Input, all eligible ports should STAY LIT. That is, node File Sort port Input File should be lit green.
We need a way to make a call to the NodePane widget asking it for all it's relevant data, including the "save object" and the "full svg data".
eg myNodePane.getData() returns
{
'visualGraph': ... // the whole data struct that Save generates
'svg': ... // the entire svg content required to reproduce the nodes and links
}
The svg should include ONLY:
The green Info icon ( i ) doesn't seem to always show information - if any nodes lack info, please give them "lorem ipsum" so I can see it work.
Also, when showing the information, please use a Tipsy to the north of the node, unless it is too close to the top edge, in which case show it to the south.
It is too much like a competitor. Lets make it a simple red "X" instead.
For example:
http://images.all-free-download.com/images/graphiclarge/round_red_close_button_5095.jpg
"The range at which port connection is valid should be at least 8 pixels, and we should see the link "snap to" the eligible port."
we can do it, but this kind of mechanism can create issue when number of connectors are high. for example if there are 7-8 connectors as input and when we drag output in middle it will pick the last added connector as priority because last added connector is on top of others.
KD: Yes. you should go through all the ELIGIBLE connectors, using:
distance = Math.sqrt( ((mx-nx)(mx-nx))+((my-ny)(my-ny)) )
and then snapping it to the one with the smallest distance that is also <= 8.
The pencil icon is too hard to read when zoomed out.
Please make it thick and white, if possible.
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.