@kingjs/poset

1.0.7 • Public • Published

@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

Install

With npm installed, run

$ npm install @kingjs/poset

License

MIT

Analytics

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.7
    0
    • latest

Version History

Package Sidebar

Install

npm i @kingjs/poset

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

3.5 kB

Total Files

4

Last publish

Collaborators

  • kingces95