All Projects → ggerganov → Dot To Ascii

ggerganov / Dot To Ascii

Graphviz to ASCII converter using Graph::Easy

Projects that are alternatives of or similar to Dot To Ascii

Handwritten.js
Convert typed text to realistic handwriting!
Stars: ✭ 1,806 (+975%)
Mutual labels:  converter
Core
Server core components which are a part of ONLYOFFICE Document Server
Stars: ✭ 152 (-9.52%)
Mutual labels:  converter
Markdown Table
Markdown tables, with alignment
Stars: ✭ 164 (-2.38%)
Mutual labels:  ascii
Gitconverter
Синхронизация хранилища конфигурации "1С:Предприятия" с репозиторием Git и последующим переходом на разработку в 1C:Enterprise Development Tools (1C:EDT) с сохранением истории
Stars: ✭ 149 (-11.31%)
Mutual labels:  converter
Chromecastize
Bash script to convert video files into Google Chromecast supported format.
Stars: ✭ 151 (-10.12%)
Mutual labels:  converter
Showdown
A bidirectional Markdown to HTML to Markdown converter written in Javascript
Stars: ✭ 12,137 (+7124.4%)
Mutual labels:  converter
Jsona
Data formatter that creates simplified objects from JSON or stored reduxObject, creates JSON from the same simplified objects (in according with JSON API specification)
Stars: ✭ 144 (-14.29%)
Mutual labels:  converter
Converter
database table to golang struct (table to struct) converter with cli and go lib support
Stars: ✭ 167 (-0.6%)
Mutual labels:  converter
Curl To Csharp
curl to C# converter
Stars: ✭ 153 (-8.93%)
Mutual labels:  converter
Gltf To Usdz Research
Research and proof of concept of converting glTF to USDZ for AR Quick Look (iOS 12+).
Stars: ✭ 164 (-2.38%)
Mutual labels:  converter
Allure
Allure of the Stars is a near-future Sci-Fi roguelike and tactical squad combat game written in Haskell; please offer feedback, e.g., after trying out the web frontend version at
Stars: ✭ 149 (-11.31%)
Mutual labels:  ascii
Tidyheatmap
Draw heatmap simply using a tidy data frame
Stars: ✭ 151 (-10.12%)
Mutual labels:  graphviz
Relaxed
Create PDF documents using web technologies
Stars: ✭ 11,656 (+6838.1%)
Mutual labels:  converter
Kittik
Create slides in TypeScript and present them in the terminal using ASCII only!
Stars: ✭ 147 (-12.5%)
Mutual labels:  ascii
Nnef Tools
The NNEF Tools repository contains tools to generate and consume NNEF documents
Stars: ✭ 165 (-1.79%)
Mutual labels:  converter
Flowiz
Converts Optical Flow files to images and optionally compiles them to a video. Flow viewer GUI is also available. Check out mockup right from Github Pages:
Stars: ✭ 144 (-14.29%)
Mutual labels:  converter
Html To Markdown
⚙️ Convert HTML to Markdown. Even works with entire websites and can be extended through rules.
Stars: ✭ 155 (-7.74%)
Mutual labels:  converter
Ascii Progress
🍓 Ascii progress-bar(s) in the terminal.
Stars: ✭ 167 (-0.6%)
Mutual labels:  ascii
Arduino Canbus Monitor
Can bus monitoring tool based on arduino and can bus shield. Implements CAN ASCII/SLCAN protocol compatible with Lawicel CAN232/CANUSB. Can be used for monitoring low speed CAN (interior can bus of most cars, less than 500kbps). For higher speeds serial port can become a bottleneck in case data density is high.
Stars: ✭ 163 (-2.98%)
Mutual labels:  ascii
Psgraph
A set of utilities for working with Graphviz in Powershell
Stars: ✭ 160 (-4.76%)
Mutual labels:  graphviz

dot-to-ascii

Try it here: https://dot-to-ascii.ggerganov.com

dot-to-ascii

Examples Usage

Dot-to-ascii can be easily used in your code by performing https requests to the api.

Python

import requests


def dot_to_ascii(dot: str, fancy: bool = True):

    url = 'https://dot-to-ascii.ggerganov.com/dot-to-ascii.php'
    boxart = 0

    # use nice box drawing char instead of + , | , -
    if fancy:
        boxart = 1

    params = {
        'boxart': boxart,
        'src': dot,
    }

    response = requests.get(url, params=params).text

    if response == '':
        raise SyntaxError('DOT string is not formatted correctly')

    return response
graph_dot = '''
    graph {
        rankdir=LR
        0 -- {1 2}
        1 -- {2}
        2 -- {0 1 3}
        3
    }
'''

graph_ascii = dot_to_ascii(graph_dot)

print(graph_ascii)
                 ┌─────────┐
                 │         │
     ┌───┐     ┌───┐     ┌───┐     ┌───┐
  ┌─ │ 0 │ ─── │ 1 │ ─── │   │ ─── │ 3 │
  │  └───┘     └───┘     │   │     └───┘
  │    │                 │   │
  │    └──────────────── │ 2 │
  │                      │   │
  │                      │   │
  └───────────────────── │   │
                         └───┘
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].