All Projects → tintinweb → vscode-interactive-graphviz

tintinweb / vscode-interactive-graphviz

Licence: GPL-3.0 License
Interactive Graphviz Dot Preview for Visual Studio Code

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to vscode-interactive-graphviz

redot
Graphviz dot file processor powered by plugins based on @unifiedjs
Stars: ✭ 60 (+5.26%)
Mutual labels:  graphviz, graphviz-dot
craftql
A CLI tool to visualize GraphQL schemas and to output a graph data structure as a graphviz .dot format
Stars: ✭ 75 (+31.58%)
Mutual labels:  graphviz, graphviz-dot
GiGraph
Simple yet versatile library for generating graphs in the DOT language
Stars: ✭ 25 (-56.14%)
Mutual labels:  graphviz, graphviz-dot
vscode-graphviz
This extension provides GraphViz (dot) language support for VS Code.
Stars: ✭ 21 (-63.16%)
Mutual labels:  graphviz, vscode-extension
DotNetGraph
Create GraphViz DOT graph with .NET / C#
Stars: ✭ 57 (+0%)
Mutual labels:  graphviz, graphviz-dot
nmap-formatter
A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot). Simply put it's nmap converter.
Stars: ✭ 129 (+126.32%)
Mutual labels:  graphviz, graphviz-dot
poddotify
A command line tool: from a Podfile.lock to an image.
Stars: ✭ 79 (+38.6%)
Mutual labels:  graphviz, graphviz-dot
ocaml-re-nfa
OCaml code to construct an NFA from a regular expression
Stars: ✭ 44 (-22.81%)
Mutual labels:  graphviz, graphviz-dot
gcb-visualizer
Cloudbuild pipeline visualizer with graphviz
Stars: ✭ 21 (-63.16%)
Mutual labels:  graphviz, graphviz-dot
vscode-database
Extension for Visual Studio Code
Stars: ✭ 132 (+131.58%)
Mutual labels:  vscode-extension
mirage
A Mirage blue theme with pastel tones for Visual Studio Code
Stars: ✭ 39 (-31.58%)
Mutual labels:  vscode-extension
vscode-openxml-explorer
OpenXML Explorer extension for VS Code
Stars: ✭ 16 (-71.93%)
Mutual labels:  vscode-extension
super-encourager
vscode插件: 超级鼓励师 奖励下努力工作的你!
Stars: ✭ 42 (-26.32%)
Mutual labels:  vscode-extension
vscode-sqflint
SQF Language server extension
Stars: ✭ 16 (-71.93%)
Mutual labels:  vscode-extension
VSCoding-Sequence
VSCode Extension for interactively visualising protein structure data in the editor
Stars: ✭ 41 (-28.07%)
Mutual labels:  vscode-extension
vscode-create-file-folder
A small vscode extension that help you to create files & folder in Atom Style.
Stars: ✭ 27 (-52.63%)
Mutual labels:  vscode-extension
git-emoji-zh
VS code 插件,在 VScode 中提交 git 的时候添加 emoji 表情😝
Stars: ✭ 39 (-31.58%)
Mutual labels:  vscode-extension
AppWorks
🐻 基于 VS Code 插件的前端研发工具集,站点国内镜像:https://apptools.gitee.io
Stars: ✭ 788 (+1282.46%)
Mutual labels:  vscode-extension
vscode-gitbook-kit
An Extension for VSCode to act as gitbook editor
Stars: ✭ 26 (-54.39%)
Mutual labels:  vscode-extension
Render-CRLF
This Visual Studio Code extension shows end-of-line character (CR, LF, or CRLF) when whitespace rendering is turned on.
Stars: ✭ 16 (-71.93%)
Mutual labels:  vscode-extension

get in touch with Consensys Diligence
[ 🌐 📩 🔥 ]

vscode-interactive-graphviz

A VSCode extension that provides syntax highlighting, snippets, and an interactive, zoom-, pan- and searchable, live preview with edge tracing for graphs in Graphviz / dot format.

graphviz_v01

graphviz_v01_open

  • Graphviz/Dot Language Support / Syntax Highlighting and Snippets (thanks @joaompinto)
  • Renders dot/Graphviz sources in an interactive live preview.
  • Updates preview as you type.
  • Interactive edge tracing. Click on a node to highlight incoming and outgoing edges (ESC to unselect).
  • Search for nodes in the graph.
  • Export the graph as svg or dot.
  • Configurable render options & tracing preference: e.g. transitionDelay, transitionDuration.
  • Available on github.dev, vscode.dev
  • Developers: you can pass a callback function that receives the webPanel when executing the preview command. This allows you to override functionality that is provided by the webPanel, like handlers for click/dblClick events.

How to preview

Open a Graphviz/Dot file in the active editor and use either of the following methods to render the preview:

  • (a) open the command prompt (cmd+shift+p) and type > graphviz preview
  • (b) click the image button in the editor title
  • (c) from the editor window's context menu, select Preview Graphviz / Dot (beside)

image

image

Render Examples

semantic-arg-dark semantic-arg-dark semantic-arg-dark semantic-arg-dark

Developer Notes

Note:v0.0.8 introduced a breaking change: the render command was renamed from interactive-graphviz.preview.beside to graphviz-interactive-preview.preview.beside

The extension can be set run on development machines with

npm run watch

In order to test the extension as a web extension you have to start

npm run open-in-browser

Interact with this extension

  • add graphviz-interactive-preview to your package.json extension dependencies.
{
    "name": "your-extension",
    "extensionDependencies": ["tintinweb.graphviz-interactive-preview"],
}
  • Create one or multiple new panels displaying the rendered dot graph. Either provide a document or both the document and the graphviz dot source. The callback function receives the newly created webPanel. Overload webPanel.handleMessage((message) from your callback function to receive message events like onClick and onDblClick emitted from inside the dot render window.
let options = {
    document: <vscode.document>,
    content: <string: dotSrc>,
    callback: <function(webpanel){}>,
    allowMultiplePanels: <bool: false|[true]>,
    title: <string: RenderWindowTitle>,
    search: <optional string: Search | object: searchOptions>
}
            
vscode.commands.executeCommand("graphviz-interactive-preview.preview.beside", options)

Please do not hesitate to reach out if you are missing specific functionality.

Maintainers

see AUTHORS for a list contributors.

Credits

Copyright (c) Microsoft Corporation:

Release Notes

see CHANGELOG


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].