@kingjs/poset

Exposes @kingjs.poset.*

Stats

StarsIssuesVersionUpdatedCreatedSize
@kingjs/poset
1.0.73 years ago3 years agoMinified + gzip package size for @kingjs/poset in KB

Readme

@kingjs/poset

Exports all @kingjs/poset.* functionality in one package.

Usage

var poset = require('@kingjs/poset');

Interfaces

declare interface EncodedPoset {
  [index: string]: any
}

A descriptor whose every property name is a concatenation of a vertex name and its adjacent vertices' names delimited by $, and whose every property value contains the properties of the corresponding vertex.

declare interface AdjacencyList {
  [index: string]: string[]
}

A descriptor whose every property name represents a named vertex and whose every property value is an array containing the names of the associated vertices' values.

A vertex found in an adjacency list that has no corresponding property of the same name on the descriptor is still a valid and is simply assumed to have no outbound edges.

declare interface VertexProperties {
  [index: string]: any
}

A descriptor whose every property name a vertex name, and whose every property value contains the properties of the corresponding vertex.

API

Analytics

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.