Svgbob Editor
Convert your ascii diagram scribbles into happy little SVG
Svgbob is a diagramming model which uses a set of typing characters to approximate the intended shape. .---. /-o-/-- .-/ / /-> ( * \/ '-. \ \ / ' It uses a combination of characters which are readily available on your keyboards. What can it do? o-> Basic shapes .- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -. ! . : ! +------+ .------. .------. /\ .' `. : ! | | | | ( ) / \ .' `. ^ : ! +------+ '------' '------' '----' `. .' / # : ! _______ ________ # `.' / ^ / : ! / \ /\ \ \ o----> | ^ # / / : ! / \ / \ ) ) <----# | | ^ : / v : ! \ / \ / /_______/ v | ! : : ! \_______/ \/ o. o ! V : ! `.~~~~. : ! '. O : ! .-----------. . <. .> . '. ^ \ : ! ( ) ( ) ( ) : \ \ : ! '-----+ ,---' `> ' ` <' '.~~~~> \ v : ! |/ * : ! ' _ __ : ! __ .-. .--. .--.--. .--. .' '. ,' '. : ! (_) (__) ( ) ( ) ( ( ) ) ( ) ( ) ( ) : ! '-' `--' `--'--' `--' `._.' `.__.' : ! ! ! ___ ____ ____ _____ ! ! ,' `. ,' `. .' `. ,' `. ! ! / \ / \ / \ / \ ! ! \ / \ / ( ) ( ) ! ! `.___.' `.____.' \ / \ / ! ! `.____.' `._____.' ! ! ______ ! ! ,' `. ! ! / \ .-----. .----. ".--------------." ! ! | | \ / \ \ "| Don't draw me|" ! ! | | \ / \ \ "| |" ! ! \ / ' '----' "'--------------'" ! ! `.______.' ! ! ! `~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' o-> Quick logo scribbles .---. _ /-o-/-- .--. |-| .--. .-/ / /-> /--. \ .--)-| .--.-. //.-.\ ( * \/ / O )| | |-| |->| | (+(-*-)) '-. \ /\ |-// . * | '--'-' \\'-'/ \ / \ '+'/ \__/ '--' ' '--' _____ .----. _ / __)\ | | ,--(_) | / \ \ __|____|__ _/ .-. \ ___| |__/ / | ______--| (_)( ) ) / (_ _)_/ `-/.::::.\-' \ `-'_/ / / | | '--------' `--(_) \ \__/ | \(_____/ o-> Even unicode box drawing characters are supported ┌─┬┐ ╔═╦╗ ╓─╥╖ ╒═╤╕ ├─┼┤ ╠═╬╣ ╟─╫╢ ╞═╪╡ └─┴┘ ╚═╩╝ ╙─╨╜ ╘═╧╛ ╭─┬╮ ├─┼┤ ╰─┴╯ o-> Grids .----. .----. / \ / \ .-----+-----+-----. + +----+ +----. | | | | .-----+-----+-----+-----+ \ / \ / \ | | | | / / / / / +----+ +----+ + +-----+-----+-----+ +-----+-----+-----+-----+ / \ / \ / | | | | / / / / / + +----+ +----+ | | | | +-----+-----+-----+-----+ \ / \ / \ +-----+-----+-----+ / / / / / '----+ +----+ + | | | | +-----+-----+-----+-----+ \ / \ / | | | | / / / / / '----' '----' '-----+-----+-----' '-----+-----+-----+-----+ ___ ___ .---+---+---+---+---. .---+---+---+---. .---. .---. ___/ \___/ \ | | | | | | / \ / \ / \ / \ / | +---+ | / \___/ \___/ +---+---+---+---+---+ +---+---+---+---+ +---+ +---+ \___/ \___/ \ | | | | | | \ / \ / \ / \ / \ | +---+ | / \___/ \___/ +---+---+---+---+---+ +---+---+---+---+ +---+ +---+ \___/ \___/ \ | | | | | | / \ / \ / \ / \ / | +---+ | \___/ \___/ '---+---+---+---+---' '---+---+---+---' '---' '---' o-> Graphics Diagram * 0 3 P * Eye / ^ / *-------* +y \ +) \ / Reflection 1 /| 2 /| ^ \ \ \ v *-+-----* | | v0 \ v3 --------*-------- | |4 | |7 | ◄╮ *----\-----* | *-----|-* ⤹ +-----> +x / v X \ .-.<-------- o |/ |/ / ⤴ / o \ ( / ) Refraction / \ *-------* v / \ '-' / \ 5 6 +z v1 *------------------* v2 | o-----o v o-> CJK characters .------------. | .-----------. | .-----. | 文件系统 | | | 调度器 | | | MMU | '------------' | '-----------' | '-----' o-> Sequence Diagrams .---> F A B C D / *-------*-----*---*----*-----> E \ ^ \ v / '---> G B --> C -' ,-. `-' /|\ ,---. | |Bob| / \ `-+-' Alice | hello | |-------------->| | | | Is it ok? | |<- - - - - - - | ,-+-. Alice |Bob| ,-. `---' `-' /|\ | / \ .─. ( 0 ) `-' / \ / \ V V .─. .─. ( 1 ) ( 4 ) `-' `-' . / \ | \ `. / \ | \ `. V V | \ `. .─. .─. V V V ( 2 ) ( 3 ) .─. .─. .─. `─' `─' ( 5 ) ( 6 ) ( 7 ) `─' `─' `─' o-> Plot diagrams ▲ Uin ┊ .------------------------ ┊ | ┊ | *---'┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄▶ Udc▲ "Udc_OK"┊ .--------------------- ┊ / : ┊ / : *---'┄┄┄┄:┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄▶ :<----->: ▲ 500ms : ┊ : Cpu.Qon ┊┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄.----------- ┊ | Inactive ┊ Active | *----------------'┄┄┄┄┄┄┄┄┄┄┄▶ o-> Railroad diagrams ┌------┐ .-. ┌---┐ o--╮---| elem |--( ; )-| n |--╭--o | └------┘ `-' └---┘ | | ╭------>------╮ | | | ┌---┐ | | ╰-╯-╭--| x |--╮-╰----------╯ | | └---┘ | | | | .-. | | | `--( , )--' ^ | `-' | | ╭-------->---------╮ | | | ┌---┐ .-. | | ╰--╰-╭-| x |--( , )-╮-╯----╯ | └---┘ `-' | `-------<------' .------------>---------------. ┌-------------┐ .-. .-. | ┌------┐ .-. ┌-----┐ | .-. ┌------┐ O____| struct_name |_( : )_( | )_◞__| name |_( : )__| tpe |___◟___( | )__| body |______O ◝ └-------------┘ `-' `-' ◜ └------┘ `-' └-----┘ ◝ `-' └------┘ ◜ | | .-. | | | `------------<------( , )--' | | `-' | `--------------------------------------------------------------------------------' o-> Statistical charts E +-------------------------*--+ E | o D |-------------------*--*--|--* D | o o | o C |-------------*--* | | | | C | o o | | | | B |-------*--* | | | | | | B | o o | | | | | | A +-*--*--+--+--+--+--+--+--+--+ A +-o--o--|--|--|--|--|--|--|--| 5 10 15 20 25 30 35 40 45 50 5 10 15 20 25 30 35 40 45 50 85.67 ┤ ╭╮ 78.20 ┤ ││ ╭╮ 70.73 ┤ ││ ╭╮ ╭╮ ╭╮ ╭╮ ╭╯╰─╮ 63.27 ┤ ╭╮ ╭─╮ ││ ╭╯╰╮│╰─╯╰╮╭╮│╰──╯ │╭ 55.80 ┤ ╭╮ ╭╮││╭╮ ╭╮╭╮ │ ╰─╯╰─╯ ││ ││││ ╰╯ 48.33 ┤ │╰╮ ╭──╮ │││││╰╮│╰╯│ │ ╰╯ ╰╯╰╯ 40.87 ┤╭╮ │ ╰╮╭╮ ╭╯ ╰─╮╭╮╭─╯╰╯╰╯ ╰╯ ╰──╯ 33.40 ┤││ │ ╰╯╰╮╭╯ ││╰╯ 25.93 ┤││╭╯ ╰╯ ╰╯ 18.47 ┼╯││ 11.00 ┤ ╰╯ └───────────┴───────────┴───────────┴───────────┴───────────┴──── 2011 2012 2013 2014 2015 2016 o-> Flow charts .--. .---. .---. .---. .---. .---. .---. | | OS API '---' '---' '---' '---' '---' '---' v | | | | | | | .-. .-. .-. | v v | v | v .-->'-' '-' '-' | .------------. | .-----------. | .-----. | \ | / | | Filesystem | | | Scheduler | | | MMU | | v . v | '------------' | '-----------' | '-----' |_______/ \_____| | | | | \ / v | | v | ____ .----. | | .---------. '--> /___/ | IO |<----' | | Network | '----' | '---------' | | | v v v .---------------------------------------. | HAL | '---------------------------------------' o-> Block diagrams vncviewer .-,( ),-. __ _ .-( )-. gateway vncserver [__]|=| ---->( internet )-------> __________ ------> ____ __ /⠶⠶ /|_| '-( ).-' [_...__...°] | | |==| '-.( ).-' |____| | | /⠶⠶⠶ / |__| Valveless --------. Pulsejet engine / V _________.------------------+ .---------' / --------> / .-------._________ \ thrust--> ( ( _________ `-----------o------+ --------> \ `----' '----' | `------._ __^___.----. | || | | fuel __^ || | ^__spark |GND intake || | plug | || | | || | | ____|| `------------. | / .---' | | | | | | +-+-+-+-+-+ .---| |---. __ | | |-+-+-+-+-| ___| +-+-+--|--o `---------*-----|--------------O-+-+-+-+-| .-------> ___ ||||||| | power | *--------------O-+-+-+-+-| \ | ||||||| | switch | | |-+-+-+-+-| Water `-+-+-+-+-' +--o-----o--+ +-+-+-+-+-+ intake HHO | | Generator | + - | Solar panel +-----------+ Battery ======= ===== symbolic antenna === = | | micro henry | coil w/tuning lug | .----. | (.-') | | (.-') | | (.-') | pico farad cap | (.-' | ___ (trimmable) | | | |___| PC -> .----'-----'---'---' Board `------------------- ground plane (foil) o-> Mindmaps .--> Alpha / .----> Initial Release Planning *-------. / \ \ / '---> Patch 1 Initial research \ / \ * \ / '--> Patch 2 \ \ /---------> Beta \ \ / \ o o _______ \ .---. *--.___ / \ '------> ( ) '------O-> . Release . `---' o \_______/ o o o \ / \ \ \ .--' \ \ \ / \ \ '----+-> Push backs / \ \ \ /| \ \ '----> Setbacks / | \ \ V /| \ '-----> Reception Team / | \ v /| \ Worklaod / . '-->> Career change V / PTO / V Bug o-> It can do complex stuff such as circuit diagrams +10-15V ___0,047R *---------o-----o-|___|-o--o---------o----o-------. + | | | | | | | | -===- _|_ | | .+. | | | -===- .-. | | | | 2k2 | | | -===- 470| + | | | | | | _|_ - | uF| '--. | '+' .+. | \ / LED +---------o |6 |7 |8 1k | | | -+- ___|___ .-+----+--+--. | | | | -═══- | | '+' | | - | |1 | |/ BC | GND | +------o--+ 547 | | | | |`> | | | ,+. | | .-------+ | 220R| | o----||-+ IRF9Z34 | | | | | | |+-> | | MC34063 | `+' | ||-+ | | | | | | BYV29 -12V6 | | | '----' o--|<-o----o--X OUT 6000 micro - | + | |2 | | | Farad, 40V ___|_____ | |--o C| | | Capacitor ~ ~ ~ ~ ~ | | GND 30uH C| | --- 470 | | |3 1nF C| | ### uF | | |-------||--. | | | + | '-----+----+-' | GND | GND | 5| 4| | | | | '-------------o-------------o | | ___ | `-------------*------/\/\/------------o--|___|-' 2k | 1k0 .+. | | 5k6 + 3k3 | | in Serie '+' | GND o-> Latest addition: Styling of tagged shapes .~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~. ! : ! +------+ .------. .------. .--------------------------. : ! | {r1} | | {r2} | ( ) | | : ! +------+ '------' '------' | | : ! _______ ________ | | : ! / \ /\ \ \ | | : ! / \ / \ ) ) | | : ! \ / \ / /_______/ | | : ! \_______/ \/ | | : ! | {bigrect} | : ! | | : ! `--------------------------' : ! : ! ___ ____ ____ ____ ! ! ,' `. ,' `. .' `. .' `. ! ! / 8 \ / 9 \ / \ / \ ! ! \ {a} / \ {b} / ( 10 ) ( 11 ) ! ! `.___.' `.____.' \ {red} / \ {a,b} / ! ! `.____.' `.____.' ! ! ______ ! ! ,' `. ! ! / \ .-----. .----. ! ! | 12 | \ / \ \ {container} ! ! | {c} | \ / \ \ ! ! \ / ' '----' ! ! `.______.' ! ! ! `~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' .-------------. / Advantages: / '-------------' -* Plain text format Ultimately portable, backward compatible and future proof. -* Degrades gracefully Even when not using a graphical renderer, it would still looks good as text based diagrams. Paste the text in your source code. -* Easiest to use. Anyone knows how to edit text. # Legend: r1 = { fill: papayawhip; } r2 = { fill: crimson; } a = { stroke-dasharray: 8; fill: lightblue; } b = { stroke: blue; } bigrect = { fill: yellow; stroke: red; } red = { fill:red; stroke:blue; }
MMU
0
Filesystem
Scheduler
IO
Network
HAL
MMU
8
9
10
11
12
Svgbob
is
a
diagramming
model
which
uses
a
set
of
typing
characters
to
approximate
the
intended
shape.
It
uses
a
which
are
combination
of
characters
readily
available
on
your
keyboards.
What
can
it
do?
Basic
shapes
.
.
.
.
o.
.
.
:
.
Quick
logo
scribbles
.::::.
Even
unicode
box
drawing
characters
are
supported
Grids
Graphics
Diagram
0
3
1
2
4
7
5
6
P
v0
v3
X
Eye
+y
⤴
+z
Reflection
+x
Refraction
v1
v2
CJK
characters
Sequence
Diagrams
A
B
C
D
B
F
E
G
C
Bob
Alice
hello
Is
Alice
Bob
it
ok?
1
3
4
.
.
5
6
7
2
Plot
diagrams
Uin
Udc
500ms
Inactive
Active
Cpu.Qon
Railroad
diagrams
elem
;
n
x
,
x
,
O
struct
name
:
name
:
tpe
body
O
,
Statistical
charts
E
D
C
B
A
5
10
15
20
25
30
35
40
45
50
E
D
C
B
A
5
10
15
20
25
30
35
40
45
50
85.67
78.20
70.73
63.27
55.80
48.33
40.87
33.40
25.93
18.47
11.00
2011
2012
2013
2014
2015
2016
Flow
charts
OS
API
Block
diagrams
vncviewer
[
]
,
,
gateway
vncserver
)
.
'
[
...
.
internet
'
.
Valveless
Pulsejet
engine
'
.
GND
power
switch
HHO
Generator
+
Battery
thrust
fuel
intake
^
^
spark
plug
Water
intake
Solar
panel
micro
henry
coil
w
tuning
'
pico
farad
cap
(
trimmable
ground
plane
foil
symbolic
antenna
lug
PC
Board
Mindmaps
Worklaod
Alpha
Initial
Release
Planning
Patch
1
Initial
research
Patch
2
Beta
.
Release
.
Push
backs
Setbacks
Reception
Team
Career
change
PTO
Bug
It
can
do
complex
stuff
such
as
circuit
diagrams
+10
15V
0,047R
+
.
470
+
uF
6
7
8
1
GND
`
220R
BYV29
12V6
OUT
+
2
C
GND
C
3
1nF
C
+
GND
GND
5
4
2k
1k0
GND
2k2
LED
1k
BC
547
IRF9Z34
MC34063
6000
micro
Farad,
40V
Capacitor
30uH
470
uF
5k6
+
3k3
in
Serie
Latest
addition:
Styling
of
tagged
shapes
Advantages:
Plain
text
format
Ultimately
portable,
Degrades
gracefully
Even
when
not
using
a
graphical
renderer,
it
would
still
looks
as
text
based
diagrams.
Paste
the
text
in
your
source
code.
Easiest
to
use.
Anyone
knows
how
to
edit
text.
backward
compatible
and
future
proof.
good
.--------------.
| Don't draw me|
| |
'--------------'
Udc_OK
文
件
系
统
调
度
器
⠶
⠶
...°
]
⠶
⠶
⠶