Search Results for

    Show / Hide Table of Contents

    Getting started:

    1. Install from NuGet:

    Install the NuGet package: VisNetwork.Blazor.

    Install using the Package Manager in your IDE or using the command line:

    dotnet add package VisNetwork.Blazor
    

    2. Register library:

    • Add the following to the relevant sections of Program.cs.
    using VisNetwork.Blazor;
    
    builder.Services.AddVisNetwork();
    
    • Add the following using directives to your root _Imports.razor file, or any other .razor file where you want to use vis-network.
     @using VisNetwork.Blazor
    

    3. Basic usage:

    • Add a Network component in your .razor file and configure it as you need. See Sample-app for example usage.
    <Network Id="my-id" Data="@data" />
    

    4. Browse the API Reference

    5. Explore the sample on GitHub:

    • Sample
    • Improve this Doc
    In This Article
    Back to top Copyright (c) Stian Kroknes