GithubHelp home page GithubHelp logo

enric-gilabert / drawiodotnetpluginsexamples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iminakov/drawiodotnetpluginsexamples

0.0 0.0 0.0 312 KB

draw.io diagram plug-ins based on .NET C# Blazor

License: MIT License

C# 72.49% HTML 4.26% JavaScript 23.24%

drawiodotnetpluginsexamples's Introduction

Draw.io DotNet Blazor Plugins Examples

This is source code project for an article: How to implement plug-in on C# Blazor for native JavaScript application. Open API schema diagram for Draw.io.

Download and start project:

  1. Download project repository and open DrawIoDotNetPlugins.sln in MSVS 2019
  2. Run web site on IIS express. It will be loaded at http://localhost:6930/

Open and configure Draw.io:

  1. Open web site draw.io - online diagram editor
  2. Setup plug-in by menu: Extras -> Plugins ... plug-in url is http://localhost:6930/js/OpenApiDocumentSchemaPlugin.js
  3. Reload draw.io web site to initialize plug-in on startup

Build Open API Swagger Diagram example:

  1. In Draw.io web application open menu item File -> Open from... -> Open API document
  2. Open swagger json document from repository: ..\src\OpenApiDocumentSchemaPlugin\Sample\test-swagger.json or you can use any other Open API/Swagger schema json file
  3. Will be created diagram will all blocks in zero point
  4. Make better diagram view by menu item: Arrange -> Layout -> Horizontal Flow

123

drawiodotnetpluginsexamples's People

Contributors

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