Code Monkey home page Code Monkey logo

nppgraphviz's Introduction

NppGraphViz

A Notepad++ plugin that sends the current tab's document to a GraphViz preview window.

Installation

  1. Install Notepad++

    Notepad++ is a powerful text editor that supports plugins such as NppGraphViz. Go to the Notepad++ homepage at https://notepad-plus-plus.org. Download and install the latest version.

  2. Install Graphviz

    Graphviz is a collection of progams that make diagrams from a simple text language. Go to Graphviz's homepage at www.graphviz.org. Download and install the latest version.

  3. Install NppGraphViz

    If you installed 64-bit Notepad++, then download the 64-bit NppGraphViz.dll

    If you installed 32-bit Notepad++, then download the 32-bit NppGraphViz.dll

    Make a "NppGraphViz" folder in Notepad++'s plugins directory, and move the NppGraphViz.dll into it. On a typical install, the full path would be "C:\Program Files\Notepad++\plugins\NppGraphViz\NppGraphViz.dll" or "C:\Program Files (x86)\Notepad++\plugins\NppGraphViz\NppGraphViz.dll"

  4. Start Notepad++

    Start Notepad++. Click "Plugins" from the file menu, you should see "Graphviz" if the plugin successfully installed.

Features

  • Hit the F9 key to preview or refresh your current tab's document with a selected GraphViz program (e.g. dot.exe).
  • Save the image with any of GraphViz's supported file types.
  • Zooming and dragging. The mouse wheel adjusts the zoom. Holding down the left or right mouse button allows dragging the preview image. The middle mouse button resets the preview.

Example

Suppose you have this text in Notepad++:

digraph g
{
    Stop->Collaborate
    Collaborate->Listen
}

The plugin sends the text to GraphViz, and displays the following preview:

graphvizstopcollaboratelisten

Syntax highlighting

NppGraphViz does not add syntax highlighting, but that functionality is available here: https://github.com/signmotion/graphviz-syntax-highlighting

nppgraphviz's People

Contributors

jrebacz avatar

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.