0.0.3 • Published 10 years ago

gitbook-grvis v0.0.3

Weekly downloads
1
License
Apache 2
Repository
github
Last release
10 years ago

GitBook GrViz Plugin

This is a sample plugin for GitBook. Gitbook GrViz plugin is used to select from markdown dot and converting it into a picture format svg.

Example:

Text format dot:

digraph g {

overlap=false;
rankdir = BT;
node [shape=record];
subgraph Atlantis {
	Tour;
	Order;
	CollectionPoint;
	TakePointTourist;
	TransportOwner;
	BusItem;
	ReturnPointTourist;

	Tour -> Order[label="" len=4.00];
	Order -> Tour[label="" len=4.00];
	CollectionPoint -> TakePointTourist[label="" len=4.00];
	TransportOwner -> BusItem[label="" len=4.00];
	CollectionPoint -> ReturnPointTourist[label="" len=4.00];
}

}

npm.io

Image dot.

How to use it:

Gitbook GrViz plugin can be installed from NPM using:

$ npm install gitbook-GrViz

Additional requirements: