Skip to content

Commit

Permalink
Transition and Place has id and name
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Nov 15, 2023
1 parent be41d97 commit 2fc3d21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

createNet

Transition and Place has id and name

createNode

TransitionEntry -- has inputs and outputs places
Expand Down
3 changes: 2 additions & 1 deletion src/lang/place/Place.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export type Place = {
//
id: string
name: string
}
4 changes: 2 additions & 2 deletions src/lang/transition/Transition.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type Transition = {
// input
// output
id: string
name: string
}

0 comments on commit 2fc3d21

Please sign in to comment.