10000 GitHub - phamd/Timeline-Editor: Web app: Creates a tab-delimited timeline of events based on specified intervals.
[go: up one dir, main page]

Skip to content

Web app: Creates a tab-delimited timeline of events based on specified intervals.

License

Notifications You must be signed in to change notification settings

phamd/Timeline-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timeline Editor

Creates a tab-delimited timeline of events based on specified intervals.
The purpose of a timeline editor is for quickly prototyping different inputs for modelling/simulation.

Tech used

Compatibility

  • Uses Object.create() for inheritence which requires IE >= 9.

Quick Overview

In the example found in example.js, the required columns and process steps are defined.

this.requiredColumns = ['Event1', 'Event2', 'Something'];
this.processSteps = '["Event1", "Event2", "Something", {}]';

Items from the Additional Process Steps are dragged onto the Process Timeline.

The timeline items are saved as JSON and stored in the history.

"[{"name":"Event1","start":"0","stop":"10","amount":"374"},{"name":"Event2","start":"0","stop":"20","amount":"473"},{"name":"Y","start":"4","stop":"5","amount":"229"},{"name":"Event1","start":"11","stop":"100","amount":"473"},{"name":"X","start":"50","stop":"78","amount":"666"},{"name":"Something","start":"0","stop":"50","amount":"5"},{"name":"EndTime","start":"100"}]"

The resulting timeline is created and ready to be fed to a model.

License

See LICENSE.

About

Web app: Creates a tab-delimited timeline of events based on specified intervals.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0