GithubHelp home page GithubHelp logo

apollo-protocol / 4d-activity-editor Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 2.6 MB

Activity Model Development Tool. Discover all the information you need for complete decision making and resource planning.

Home Page: https://apollo-protocol.github.io/4d-activity-editor/

License: Apache License 2.0

TypeScript 98.90% JavaScript 0.31% CSS 0.80%
activity data-interoperability editor information-management 4-dimensionalism activity-diagram apollo-protocol

4d-activity-editor's People

Contributors

amrc-benmorrow avatar amrc-tbaker avatar climbingal avatar dependabot[bot] avatar jamrce avatar kallb123 avatar tbchef avatar twalmsley avatar u3r1yxj0 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

climbingal

4d-activity-editor's Issues

๐Ÿ› [BUG] - Duplicate events present in exported TTL

Description

Description
When multiple activities share the same beginning or ending events (and, therefore, share the same timestamp in the data_EntityName (literal)) the exported TTL (using save() in the editor app) can have different event data instances representing the same timestamp.

The root cause is likely an absence of checking for existing events in the model before a new event is created in createTimeValue()

Text file below illustrates the issue (repeated event objects for "Infinity", "-Infinity" and "200" (github doesn't allow TTL file upload so saves as a .TXT):

activity_diagram_showing_duplicate_events.txt

What output did you expect?
I expected the TTL to only have a single event object for each unique event.
What output did you get?
Multiple event objects for a unique event. For large activity diagrams this can be many duplicates and is hard to cons

Reproduction URL

const createTimeValue = (hqdm: HQDMModel, modelWorld: Thing, time: number): Thing => {

Reproduction steps

- Create more than one activity in the UI and export to TTL, with two activities sharing the same boundary.
- Look for `event` objects in TTL.  There will be duplicate events.
The attached TTL file shows the issue.

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

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.