Skip to content

Instantly share code, notes, and snippets.

@rlingineni
Last active March 3, 2021 22:53

Revisions

  1. rlingineni revised this gist Mar 3, 2021. No changes.
  2. rlingineni revised this gist Mar 3, 2021. No changes.
  3. rlingineni revised this gist Mar 2, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Cart FollowUp
    Abandoned Cart
    Items in Cart
    Leave Website -> Cart Abandoned
    Cart Abandoned
  4. rlingineni created this gist Mar 2, 2021.
    12 changes: 12 additions & 0 deletions SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    Cart FollowUp
    Items in Cart
    Leave Website -> Cart Abandoned
    Cart Abandoned
    Click Email Link -> Items in Cart
    After 14 Days -> Cart Expired
    Cart Expired





    8 changes: 8 additions & 0 deletions SketchSystems_prototype.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    // parse line by line
    // check if passes, if not throw error
    // for each transition, verify right hand side exists
    // if comment then skip

    //graph.addnode
    // graph.create relation, edge == action
    // graph.exists if node not exists then throw error