# Graphviz
Programm the graph plotting
WARNING
29 years ago, written in C
- Directed Graph
- Undirected graph
# graphviz tools
tool | description |
---|---|
dot | hierarical model layout |
neato | spiral model layout |
fdp | spiral - Fruchterman-Reingold heuristic |
sfdp | multiscale version on fdp |
twopi | radial layouts |
circo | circular layouts |
- Awesome Graphviz
- https://codefreezr.github.io/awesome-graphviz/
# What can graphwiz do?
- Plott Graphs
- directed
- undirected
- Flowcharts - changing graph node shape
- Entity Relation model - ER models
- Tabular, hoerarical Database Schemeas
- Finite Automata FAM
- Network Connections
# DOT Languague
- subgraphs and clusters fro logical grouping
# Graphviz alternatives
# Interesting Use cases
- plott package dependency graphs
- in yocto
- in PyCharm
- plott directory hierarchy / Folder structure
- Network diagrams
# Others
- How to make charts with just vanilla SVG[1]
- Sparklines - lines at an angle
- Pie charts - circle with and an arc
- Bar chart / histogram - filled rectangles
- Use vsCode SVG snippets and extensions to help writing SVG markup
- SVG snippets examples
# How to make vsCode snippets and Extension and publish them?
Emmet shortcuts
!TAB
to print html boilerplate- tab stops
$0
,$1
where you want your cursor to be after snippet is pasted - Placeholders are tabstops with values, like
${1:foo}
- Placeholders can be nested, like
${1:another ${2:placeholder}}
- Placeholders can have choices as values. The syntax is a comma-separated enumeration of values, enclosed with the pipe-character, for example
${1|one,two,three|}
- Assign Keybinding to snippets
How to publish vscode snippet as an extension
Use yoeman, scaffolding tool call snippet.json inside package.json publish to npm using vsce tool
SVG Purpose
building interactive graphs with SVG, CSS and Javascript think animations, shadows and tooltips
See the Pen svg-interactable-chart by avimehenwal (@avimehenwal) on CodePen.
# Resources
â All Posts Website Features â