Skip to content
Snippets Groups Projects
Erik Kočamba's avatar
Erik Kočamba authored
Resolve "Update to Angular 12"

Closes #15

See merge request muni-kypo-crp/frontend-angular/models/kypo2-angular-topology-model!19
1ab268ad
History

Topology Graph Model

Topology Model is a library containing model of topology graph.

Library contains model for

  • Node (SwitchNode, HostNode, RouterNode)
  • Node Port
  • Link
  • Enums

It extends Node and Link D3.js model and therefore it can be used in apps using D3.js library.

Prerequisites

To use the library you need to have installed:

Usage

To use the model in your project follow these steps:

  1. Run npm install @muni-kypo-crp/topology-model
  2. Import model classes like usual, for example import { Node } from '@muni-kypo-crp/topology-model