Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I Added a bunch of new functions #106

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 17, 2019

  1. added "use strict"

    added parameter fontsize, scaleFactor, zoomFactor
    added load node position from user data
    changed constant for avoid massive forces at small distances
    added function getNodePositions
    changed requestAnimationFrame to use function from window instead of this
    added function findNode
    added function getCanvasPos
    added function getNodePositions
    dstrack committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    241dfc9 View commit details
    Browse the repository at this point in the history
  2. added "use strict"

    added parameter fontsize, zoomFactor, maxSpeed, nodePositions, pinWeight, edgeLabelBoxes, selected, x_offset, y_offset
    added node shadows
    added node shapes
    added zoom canvas, drag canvas, zoom nodes, drag & pin nodes.
    added function zoom
    added function trackTransforms
    added function getCanvasPos
    dstrack committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    f892476 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2019

  1. Configuration menu
    Copy the full SHA
    5a528f1 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2019

  1. Configuration menu
    Copy the full SHA
    9f6fb75 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Configuration menu
    Copy the full SHA
    6cf2033 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. new parameter fontname; new function scaleFontSize loop optimisation:…

    … moved assignments; use of const and let for loop variables.
    dstrack committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    0b74d84 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. added parameter pinWeight -- fixate or just move selected node depend…

    …ing on pinWeight
    
    added functions selectNode, isSelectedNode, isSelectedEdge, setNodeProperties
    dstrack committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    e369c8c View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2019

  1. fixed typo

    dstrack committed Dec 8, 2019
    Configuration menu
    Copy the full SHA
    e2a407e View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. tuning of math, memory usage and repeated calculations for applyCoulo…

    …mbsLaw, applyHookesLaw and render.
    
    added functions zoomCanvas, scaleZoomFactor.
    dstrack committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    1be094a View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2019

  1. new functions:

    setExciteMethod,	-- set method for smart selection - none, downstream, upstream, connected
    propagateExcitement -- smart selection of related nodes
    
    improved functions:
    applyCoulombsLaw 	-- Boosted method 2 - loops variables are transformed into static memory array addresses
    dstrack committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    3ad2674 View commit details
    Browse the repository at this point in the history
  2. fixed bugs - drawing error on zoom out, draw edge : set mimimal visua…

    …l line width.
    
    feature - new param.exciteMethod -- set method for smart selection: none, downstream, upstream, connected
    dstrack committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    937bbbc View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2019

  1. springy.js

    - new function setParameter
    - added timeout after each frame for Safari to keep the browser responsive (when ui.js is included)
    springyui.js
    - inproved look for arrowheads, righttriangle and lefttriangle
    - default maxspeed is now 100
    dstrack committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    0c7f8fa View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2020

  1. Configuration menu
    Copy the full SHA
    7e94459 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2020

  1. Configuration menu
    Copy the full SHA
    1adc754 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2020

  1. multiple diagrams per window.

    	Support for zoom and fontsize
    new function optimizeMass
    	when nodes have many edges the calculation of forces causes shaking and jumping of the nodes.
    	by adding a counter mass equal to the number of edges can stop that errors.
    new function focusSelected
    	zoom and move the canvas to the selected node.
    support for touchpad
    	select node
    	move node
    	move canvas
    support for generic double click handler
    dstrack committed Feb 22, 2020
    Configuration menu
    Copy the full SHA
    7c518c3 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Configuration menu
    Copy the full SHA
    f43240d View commit details
    Browse the repository at this point in the history