Sha256: 42a3b96201511456f87b87f2efd505b7a138d10458dc76c319d7c3ffc723752b

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 Bytes

Contents

# Tinydot

Tiny language alternative to DOT.

## Installation

```sh
$ gem install tinydot
```

[Graphviz](http://www.graphviz.org/) is required to convert files written by tinydot into images.

## Usage

```sh
$ tinydot convert sample.tinydot
```

`tinydot` command converts `*.tinydot` or `*.tdot` into `*.dot` and converts the converted files into graph images using Graphviz.

## Examples

```rb
digraph "sample" do
  a >> b >> c
  a <=> d
  b <=> d
end
```

is equivalent to

```dot
digraph sample {
  a -> b;
  b -> c;
  a -> d [dir = both];
  b -> d [dir = both];
}
```

and converted into a following graph.

![sample](examples/sample.png "sample")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tinydot-0.0.1 README.md