-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17d55c8
commit 7fb6634
Showing
1 changed file
with
22 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
do.import {grafito.art} | ||
import {grafito}! | ||
|
||
do [ | ||
graph.create "sample3" [ | ||
nick: put'person [name: "Nick", sex: "m", birth: 1957] | ||
eleftheria: put'person [name: "Eleftheria", sex: "f", birth: 1960] | ||
angela: put'person [name: "Angela", sex: "f", birth: 1999] | ||
john: put'person [name: "John", sex: "m", birth: 1986] | ||
niovi: put'person [name: "Niovi", sex: "f", birth: 1928] | ||
johnA: put'person [name: "John", sex: "m", birth: 1933] | ||
graph.create "sample3" .helpers: [person food] [ | ||
|
||
nick: put'person [name: "Nick", sex: "m", birth: 1957] | ||
eleftheria: put'person [name: "Eleftheria", sex: "f", birth: 1960] | ||
angela: put'person [name: "Angela", sex: "f", birth: 1999] | ||
john: put'person [name: "John", sex: "m", birth: 1986] | ||
|
||
niovi: put'person [name: "Niovi", sex: "f", birth: 1928] | ||
johnA: put'person [name: "John", sex: "m", birth: 1933] | ||
|
||
tatie: put'person [name: "Tatie", sex: "m", birth: 1958] | ||
tatie: put'person [name: "Tatie", sex: "m", birth: 1958] | ||
|
||
spaghetti: put'food [name: "Spaghetti"] | ||
pizza: put'food [name: "Pizza"] | ||
steak: put'food [name: "Steak"] | ||
spaghetti: put'food [name: "Spaghetti"] | ||
pizza: put'food [name: "Pizza"] | ||
steak: put'food [name: "Steak"] | ||
|
||
link'marriedTo nick eleftheria | ||
link'marriedTo johnA niovi | ||
link nick 'marriedTo eleftheria | ||
link johnA 'marriedTo niovi | ||
|
||
link'childOf @[angela john] @[nick eleftheria] | ||
link'childOf @[nick tatie] @[johnA niovi] | ||
link @[angela john] 'childOf @[nick eleftheria] | ||
link @[nick tatie] 'childOf @[johnA niovi] | ||
|
||
link'likes @[john angela niovi] @[spaghetti] | ||
link'likes @[eleftheria johnA nick] @[pizza] | ||
link'likes @[john tatie nick] @[steak] | ||
link @[john angela niovi] 'likes @[spaghetti] | ||
link @[eleftheria johnA nick] 'likes @[pizza] | ||
link @[john tatie nick] 'likes @[steak] | ||
|
||
preview fetch 'person ø | ||
] | ||
preview fetch 'person ø | ||
] |