Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Latest commit

 

History

History
172 lines (126 loc) · 8.51 KB

existing-solutions.md

File metadata and controls

172 lines (126 loc) · 8.51 KB

mxGraph TypeScript existing solutions

Note: only document NPM package when available i.e. no NPM information means that there is no published NPM package

Type definitions

This repo served as base for the DefinitelyTyped PR #34695, which is closed. See also aleics/mxgraph-types #1

Analysis done on 2020-04-11
1st commit: 2018-08-24
Latest commit: 2019-01-16, 6a7bfb3
License: none
Overview

  • mxGraph support: 3.9.8 (see the version file)
  • one definition file per mxGraph file
  • all files stored in the repository root
  • all types declared in the mxgraph namespace

Analysis done on 2020-04-11
1st commit: 2018-12-10
Latest commit: 2020-04-08, 40714ba
Latest NPM package: 4.1.1 on 2020-04-08
License: Apache-2.0
Overview

  • mxGraph support: 4.1.1
  • non only provide type definitions: A tiny wrapper around mxgraph that provides a configurable TypeScript compatible package.
  • type definitions based on https://github.com/lgleim/mxgraph-typings, see src/mxgraph-typings.d.ts and issue #2
  • accept contributions, latest merged on 2020-02-28

This was the 1st repository on GitHub that provided types definitions
gooddaytoday opened the issue on DefinitelyTyped to request mxGraph support, see #5317

Analysis done on 2020-03-18
1st commit: 2015-08-06
Latest commit: 2015-08-14, 990a148
License: none
Overview

  • disclaimer Now definitions are poor. A lot of <any> types and empty classes.
  • one definition file per mxGraph source subfolder
  • not maintained

Forked repositories

gooddaytoday/network on 2020-04-02

gooddaytoday network graph

Forks containing additional types

Analysis done on 2020-04-11
1st commit: 2019-08-06
Latest commit: 2020-04-11, aea2c85
Latest NPM package: 1.0.1 on 2020-03-18
License: Apache-2.0
Overview

  • mxGraph support: 4.1.1 (assumed)
  • same directory layout as in the mxgraph-js source repository. For instance, mxGraph javascript/src/js/handler/mxCellMarker.js related definition is available in handler/mxCellMarker.d.ts
  • one definition file per mxGraph file
  • avoid usage of any almost everywhere
  • accept contributions, latest merged on 2020-04-07

This repo served as base for a lot of forked or copied repository on GitHub

Analysis done on 2020-03-03
1st commit: 2018-01-09
Latest commit: 2019-07-19, 474719e
License: MIT
Overview

  • based on an unmaintained mxGraph TypeScript port (see issue #1 and issue #5)
  • activity:
    • merge PRs on July 2019
    • respond to PR on September 2019, see PR #10

contributors via PR

with PR creation date

Forked repositories

We list here the forks that have received direct contributions without backport to upstream
TODO to be continued if needed

lgteim network graph

People that have pushed commits on forks since March 2019 that could be contacted

Copied repositories

repositories not identified as fork on GitHub

Analysis done on 2020-03-25
1st commit: 2018-01-30
Latest commit: 2018-02-17, aef4bde
Latest NPM package: 1.0.1 on 2020-03-18
Overview

  • starting lgleim commit: 26fd61646b61f9b75e11c079c3b3ada7e87a3c3f (2018-01-22)
  • remove module export declaration
  • user also has a repo marked as fork of lgleim with a single additional commit that remove module export definition

this user wanted to use asual/mxgraph-factory and copy it as https://github.com/rabpeter/ts-mxgraph and the lgteim repository as well because of missing types, see asual/mxgraph-factory#5

Repositories and npm packages

mxGraph TypeScript ports

That kind of ports sound first sound interesting because they remove the need of a dedicated project for type definitions.
However, none of them has been completed and maintenance efforts to backport new mxGraph developments seem high

Analysis done on 2020-04-02
1st commit: 2019-08-06
Latest commit: 2020-03-19, aea2c85
License: Apache-2.0
Overview

  • mxGraph support: 4.0.1 (see README)
  • no information about how the port has been initialized
  • unable to build the 1st nor the latest commit of the repo
  • README seems inacurate and looks like it is a copy/paste from another project. For instance, the mxGraph link point to lodash#debounce

Analysis done on 2020-04-02
1st commit: 2018-02-18 starting from 5e921c412e05e0fac77af1fd1d644c2e38bd8c81 mxgraph commit (mxGraph 3.9.1)
Latest commit: 2018-08-31, 919ad9f
License: Apache-2.0
Overview

  • created by @NicCOConnor
  • origin: discussions about mxGraph integration in Angular 4, see mxGraph #88
  • left unfinished