Skip to content

nullibrew/text2Graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text To Graph

An HTML/Javascript utility that converts simple sentences into Graph diagrams. The goal is to quickly and easily create Graph diagrams for presentations or high-level design.

This utility is built on top of the Arrows Library.

How do I use it?

Simply download all files and open-up the text2graph.html file with a Browser.

How do I draw a graph?

Just type-in simple sentences, such as:

Jenny is friends with Bob

or

Bob works for Nulli

You can also add properties to the Graph Nodes and Vertices, using a - delimiter. Example:

Jenny - "mail": "jenny@example.com", "phone": "604.111.2233"

Note: the quotes (")are important in the properties.

Limitations

The algorithm for placing nodes is not all that clever (yet), playing with the sentences, and their order may help in proper positioning of the Nodes. There is also a limit to the number of nodes that can be drawn. Think of only drawing 1 node of each type to keep things high-level/clear.

Contact

alex@nulli.com

=======

text2Graph

Natural Language conversion to Graph utility

About

Natural Language conversion to Graph utility

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published