Giter VIP home page Giter VIP logo

draft's Introduction

Hi there ๐Ÿ‘‹, I'm Luca

A software craftsman who likes Go, C, and is learning Zig .


๐Ÿ“ซ How to reach me:

GitHub Twitter LinkedIn GitHub Sponsors



Metrics

draft's People

Contributors

dan0nl avatar lucasepe avatar rubix982 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

draft's Issues

Warning: using box for unknown shape cylinder

Hey, this is a great idea for a tool!

I've run into an issue while trying to create a database component.
Using the following yml input:

title: Title
backgroundColor: '#ffffff'

components:
  -
    kind: database
    label: DB

Throws a warning when I try to generate a png:

$ draft issue.yml | dot -Tpng > repro.png
Warning: using box for unknown shape cylinder

The generated png shows the db component as a box instead of a cylinder:
image

I installed draft via something like

go get -u https://github.com/lucasepe/draft/issues/new
cd $GOPATH/src/github.com/lucasepe/draft/cmd
go install
mv $GOPATH/bin/cmd $GOPATH/bin/draft

Any idea what the issue could be here?

Installation steps

Hey! Can you list somewhere how to install it? I am not a Go user, so I don't know the ecosystem and package manager.
I know there is a binary and packages for some distros on the release, but I didn't find how to do it manually from the source.

Building fails von MacOS BigSur

`go generate ../...
/usr/local/Cellar/statik/0.23.0_3/libexec/lib/python3.9/site-packages/sqlalchemy/orm/query.py:196: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if entities is not ():
usage: statik [-h] [-p PROJECT] [--quickstart] [--autogen] [-o OUTPUT] [--clear-output] [-s] [-w] [--host HOST] [--port PORT] [--no-browser]
[--deploy {sftp,netlify}] [-v] [--quiet] [--fail-silently] [--no-colorlog] [--version]
statik: error: argument -s/--safe-mode: ignored explicit argument 'rc=./assets'
../icon.go:3: running "statik": exit status 2

which statik
/usr/local/bin/statik
`

Labels for all components and for connections

What is the reasoning behind only supporting labels on a subset of the components? Would it be possible to extend label support to all of them?

Additionally, could connections support labels as well?

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.