Skip to content

Commit

Permalink
Fix syntax of code blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfreckleton committed Apr 3, 2017
1 parent de511d8 commit 5b961d6
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ Usage
-----
#### Installation ####

git clone https://github.com/ryanfreckleton/thinkgraph
cd thinkgraph
pip install .
git clone https://github.com/ryanfreckleton/thinkgraph
cd thinkgraph
pip install .

#### Hello World ####

Here's a basic use of graphthink to create an "evaporating cloud" diagram.

# hello.tkg
1. Try new things
2. Don't try new things
3. We must be satisfied
4. We must be secure
5. Happiness

1 <> 2
1 -> 3
2 -> 4
3 -> 5
4 -> 5
# hello.tkg
1. Try new things
2. Don't try new things
3. We must be satisfied
4. We must be secure
5. Happiness
1 <> 2
1 -> 3
2 -> 4
3 -> 5
4 -> 5

graphthink uses a very simple language.
It is divided up into entities and relations.
Expand All @@ -39,7 +39,7 @@ An entity is any line of the form:

Once you've created this file, running thinkgraph on it should generate a nice dot file.

thinkgraph hello.tkg
thinkgraph hello.tkg

Identifiers and Relations
-------------------------
Expand All @@ -48,18 +48,18 @@ Labels are ASCII sentences and continue until the end of the line.

Relations are how relationships between entiteis are graphed. The relationships are:

<> conflict
-> cause
=> feedback loop
<> conflict
-> cause
=> feedback loop

Color/Styling
-------------
Styling of entitites is determined by a code after the period.

1.inj An action
2.obs An obstacle
3.green Something green (and good)
4.red Something red and (bad)
1.inj An action
2.obs An obstacle
3.green Something green (and good)
4.red Something red and (bad)


TODO
Expand Down

0 comments on commit 5b961d6

Please sign in to comment.