Giter Site home page Giter Site logo

godot's Introduction

godot

Godot is a graphviz wrapper for Go.

An example:

package main

import "github.com/paetzke/godot/godot"

func main() {
        dotter, err := godot.NewDotter(godot.OUT_PDF, godot.GRAPH_DIRECTED, "test.pdf")
        defer dotter.Close()
        if err != nil {
                panic(err)
        }

        dotter.SetLink("val", "val")
        dotter.SetLabel("val", "LABEL!!")

        dotter.SetLink("val", "val1")
        dotter.SetLink("val", "val1")
        dotter.SetLink("val", "val1")

        dotter.SetLabel("val3", "sLABEL!!")

        dotter.SetNodeShape("val3", godot.SHAPE_BOX)
        dotter.SetNodeShape("val34", godot.SHAPE_BOX)
}

CREDITS

Thanks to:

Copyright (c) 2013, Friedrich Paetzke ([email protected])

All rights reserved.

godot's People

Contributors

paetzke avatar kisielk avatar

Stargazers

Jonathan McHugh avatar Roman TSovanyan avatar ik5 avatar Koichi Shiraishi avatar David Luu avatar  avatar myoung-su,shin avatar Raghavendra Prabhu avatar Ondrej Fabry avatar Trevor Gattis avatar Evan Lin avatar Lubomir Anastasov avatar Claus F. Strasburger avatar Ingo Oeser avatar

Watchers

 avatar James Cloos avatar

godot's Issues

Add option to disable escaping.

Hi, I'm using godot to generate a dependency graph for a lniux package manager I'm writing. Anyways, the output looks very ugly because all slashes and dashes get replaced with SLASH and HYPHEN. Is this done on purpose? Could you please provide a flag to disable this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.