Skip to main content

Introduction

MSAGL-JS is a JavaScript implementation of several graph layout algorithms together with two graph viewers and an editor component. In most parts it is a port of .NET layout engine MSAGL. MSAGL-JS is currently under development and it comprises the following modules:

  • @msagl/core: the core graph data structures and the layout engines
  • @msagl/drawing: device independent graphic support
  • @msagl/parser: convert common formats to MSAGL Graph instances
  • @msagl/renderer-webgl: a WebGL-powered rendering component
  • @msagl/renderer-svg: an SVG-powered rendering component

To browse a large graph please use Web-GL renderer example, and to browse and to edit a smaller graph use SVG-renderer example