Giter VIP home page Giter VIP logo

chise.js's People

Contributors

ahmetcandiroglu avatar alperkaracelik avatar ayhun avatar dorukcakmakci avatar fdurupinar avatar furkansahin avatar hasanbalci avatar istemi-bahceci avatar ivanovaos avatar kaansancak avatar kinimesi avatar metincansiper avatar mrsfy avatar nasimsaleh avatar onursumer avatar royludo avatar ugurdogrusoz avatar utdemir avatar

Stargazers

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

Watchers

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

chise.js's Issues

Viewer separation issues

From @ugurdogrusoz on July 15, 2016 11:55

Following are problems/issues with the viewer code base (unstable branch to be transferred to the master):

  • Delete Selected {Simple,Smart} should be available (both in the menu and the toolbar) in the viewer as well.
  • Alignment should be available (both in the menu and the toolbar) in the viewer as well.
  • Remove Help > How to Use (we can put the User's Guide somewhere in GitHub repository)
  • Help > About:
    o 1.0 -> 2.0
    o add MSKCC as well (see http://www.cs.bilkent.edu.tr/~ivis/SBGNViz.js/ for the format)
    o email, repo web page stays the same (not as in http://www.cs.bilkent.edu.tr/~ivis/SBGNViz.js/)

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#156

Validation upon save or on demand

We need to implement validation checks upon Save (or when the user decides to do such a check).

We should also decide on

  • under what menu to make this operation available
  • with what format any warnings/errors should be presented to the user

We should discuss whether or not we use libSBGN (http://www.sbgn.org/LibSBGN) for this purpose on server side (not currently available in JavaScript).

In case we support multiple notation (i.e. PD and AF), we should be careful.

Grid guide support

We should support grids, guidelines for alignment, and snapping as discussed and designed. Full functionality is to be first supported in the related extension.

Better label support

From @ugurdogrusoz on July 14, 2016 11:11

Currently each node has a label (e.g. gene symbol) and some info boxes (units of information and state variables). In addition, tags defined in PD notation can be used to annotate map objects. However, a more general support for labels (labels associated with nodes, edges or the map itself) would be useful. The labels should be either text or an image!

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#152

Use of arrows for moving nodes

We should be able to use arrows for moving nodes (single or multiple selection). I suppose this should go to the related extension. Perhaps the speed of the move could be adjusted as follows:

  • Ctrl arrow: move minimally (one pixel at a time)
  • Just arrow: move reasonably (a few pixels at a time, 3?)
  • Shift arrow: move faster (10 pixes at a time?)

Tooltip improvements

From @ugurdogrusoz on July 15, 2016 7:33

We should not display node tooltips (full node labels)

  • when the full label is already being displayed (won't be true for complexes or for nodes with at least one info box)
  • when the node is being dragged (basically only when mouse over)

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#153

Ask whether to save on New

When the user creates a new map using File > New, we should confirm whether or not the user wants to save the current map first (Do you want to save any change(s) to the map? Save, Don't Save, Cancel).

Moving a process in its entirety

Moving nodes connected to a process as a process moves (moving a process in its entirety) might be useful. This could be implemented in two different ways:

  • use the a extension?
  • when the user clicks and holds (or double clicks) on a process, select its immediate neighbors so they can be moved together as a group.
    In any case, we should make sure this doesn't break the animation that takes place during layout, expand, etc.

Expand-collapse and bend-editing not fully compatible

When we try to collapse an edge, having bend points, we were getting an error. Currently we are removing bend-points of edges before a node is being collapsed to avoid this bug.

Also, adding bend points to meta edges is problematic.

Context menus for nodes, edges, and background

From @ugurdogrusoz on June 16, 2016 11:36

Let's add context menus (not too shiny as cxtmenu extension but something simpler) for nodes, edges, and background. These menus should have functionality that might be commonly used per node, per edge or per map. BioGene dialog that opens up on right-click should go to the context menu of nodes of type macromolecule. Expand/collapse can go to compound nodes.

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#137

Let's talk about details first.

Sustain node/edge addition mode

From @ugurdogrusoz on July 15, 2016 9:15

We should think about how we can help the user to quickly successively create nodes of the same type. If no better solutions seems feasible, we can just keep the current addition mode upon creation rather than going back to the default selection mode.

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#154

Dialog improvement

In all dialogs, we should change Save to Apply and NOT close the window upon clicking this button. The dialog should be closed only when X is clicked. This applies to all dialogs, including

  • File > Properties
  • View > Grid
  • Layout > Layout Properties
    In the grid dialog, we have the following problems:
  • For both Grid Size and Guideline Tolerance, we can enter invalid values that change the previous valid values, which is incorrect behavior.

Reaction templates

From @ugurdogrusoz on April 22, 2016 12:33

This high priority feature is to enable users to easily create certain types of processes such as associations and dissociations using templates provided. This is detailed out in Metin's GSoC project proposal.

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#118

Convenient bend point editing

We can make bend point editing easier / more convenient if following are supported:

  • [3] Ability to select a specific bend point (as opposed to or in addition to selecting the whole edge with bend points) and using Delete key to delete that bend point,
  • [2] Ability to click anywhere on the edge to introduce and relocate a bendpoint by dragging,
  • [1] If a bend point is released (during drag) "near" the line from the previous bend point to the next one (these neighboring bend points could be edge clipping points in case there is no such bend point), the bend point should be deleted.

Node background colors

Except for molecular complexes (leave these as is), all nodes should have a white background by default.

Default behavior for dragging in core

When you left-click and drag in the root, it's panning by default (from Cytoscape.js). You need to use Shift or Ctrl for dragging to perform marquee/rectangle selection. Can we swap the two somehow? By default drag should map to selection not drag.

Grid and guides lost on load

If you load a graph, you lose the grid and the guidelines; they no longer work! The bug might be in the related extension...

Resize through new extension

Use the new node-resize extension for resizing nodes. I would use the orange that we use for selection for grapples (and gray for bounding box?), and bounding rectangle and a very tight padding (not touching the node). Also we should no longer color the border of nodes in selection color since selection is now signified by grapples!
Let's keep in mind that

  • some nodes aren't allowed to be resized, and
  • some nodes are only allowed resizing keeping aspect ratio.

Highlights

When "highlight neighbors" is called after "highlight processes", the processes of the selected element remain highlighted.

Save inspector changes on focus loss

When the user makes a change in the inspector and then changes focus to some other window (say click on the canvas) to close the inspector, the change is lost. Can we do something to make sure change is actually saved?

Highlight bugs

  • Edges, info box labels, etc. are not "ghosted" (still visible) as expected from this feature.
  • Doesn't work on maps other than the default sample diagram.

Logical operators

From @fdurupinar on June 21, 2016 20:46

Targets of logical arcs should be allowed to be logical operators.

From the current sbgn specs:
Origin: Any EPN (Section 2.4) or logical operator (Section 2.10).
Target: Any logical operator (Section 2.10).

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#146

Tool name change

Please change the tool name as follows:

  • html page title (SBGNViz.js -> Chisio SBGN Editor)
  • upper left tile at menubar (SBGNViz.js -> Chisio SBGN Editor)
  • Help > About (SBGNViz.js Editor version 1.0 -> Chisio SBGN Editor version 1.0)
  • Help > About (.../iVis-at-Bilkent/sbgnviz-js -> .../iVis-at-Bilkent/chise.js)

Submaps and terminals

From @ugurdogrusoz on December 17, 2015 14:50

Currently we do not support these node types (mainly since we do not like the way they are represented and drawn in SBGN-PD). We should discuss this and think about how they could be supported.

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#101

Persisting node/edge properties not required by SBGN-ML

Some node and edge properties available in SBGNViz are not actually required by SBGN-ML (e.g. node color). We should persist such properties as well in SBGN-ML similar to other SGBN tools (so we can exchange such properties as well).

Change node dimensions from inspector

From @ugurdogrusoz on June 16, 2016 11:42

We should display node width and height (both integers) in the inspector and allow editing. We should have a checkbox to lock/unlock aspect ratio. Note that this should not be displayed for compound nodes since their geometry is based on their children. We should talk about whether to keep the center or the upper left corner fixed on dimension changes. Make sure this is part of multiple object selection as well (i.e. support changing dimensions of multiple nodes)

Copied from original issue: iVis-at-Bilkent/sbgnviz.js#139

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.