-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wardley Map: JSON exporter supports notes [feenkcom/gtoolkit#3781]
- Loading branch information
1 parent
c65d6da
commit 0f8d41e
Showing
8 changed files
with
78 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/GToolkit-WardleyMap/GtWardleyMapNoteModelExamples.class.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Class { | ||
#name : #GtWardleyMapNoteModelExamples, | ||
#superclass : #Object, | ||
#category : #'GToolkit-WardleyMap-Examples' | ||
} | ||
|
||
{ #category : #'instance creation' } | ||
GtWardleyMapNoteModelExamples >> newNote [ | ||
<gtExample> | ||
| aWardleyNote | | ||
|
||
aWardleyNote := GtWardleyMapNoteModel new. | ||
self assert: aWardleyNote label equals: 'Note'. | ||
self assert: aWardleyNote coordinate equals: 0.5 @ 0.5. | ||
self assert: aWardleyNote color equals: GtWardleyMapConstants nodeColor. | ||
|
||
^ aWardleyNote | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters