New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tessellatron

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tessellatron - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

lib/graph.d.ts

1

lib/graph/hypercube.d.ts

@@ -20,2 +20,3 @@ import Cell from '../cell';

export default class HypercubeGraph {
layout: string;
dimensions: Array<number>;

@@ -22,0 +23,0 @@ magnitudes: Array<number>;

@@ -26,2 +26,4 @@ "use strict";

/* CALCULATE MAP INFORMATION */
// the layout is a hypercube, as defined by this class.
this.layout = 'hypercube';
// the `dimensions` represent the lengths of each edge.

@@ -316,2 +318,3 @@ // this includes the width, height, depth, etc.

const jsObject = {
layout: this.layout,
dimensions: this.dimensions,

@@ -318,0 +321,0 @@ magnitudes: this.magnitudes,

7

lib/index.d.ts

@@ -0,5 +1,4 @@

import Graph from './graph';
import Cell from './cell';
import HypercubeGraph from './graph/hypercube';
export { Cell, HypercubeGraph };
export default class Graph extends HypercubeGraph {
}
export { Cell };
export default Graph;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const graph_1 = require("./graph");
const cell_1 = require("./cell");
exports.Cell = cell_1.default;
const hypercube_1 = require("./graph/hypercube");
exports.HypercubeGraph = hypercube_1.default;
class Graph extends hypercube_1.default {
}
exports.default = Graph;
exports.default = graph_1.default;
{
"name": "tessellatron",
"version": "0.1.5",
"version": "0.1.6",
"description": "Tessellatron creates graphs (represented by json structures) with tesselating spacial patterns.",
"keywords": [
"tessellate",
"tessellating",
"graph"
],
"license": "MIT",
"author": "noltron000",
"homepage": "https://github.com/noltron000-coursework/tessellatron#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/noltron000-coursework/tessellatron.git"
},
"bugs": {
"url": "https://github.com/noltron000-coursework/tessellatron/issues"
},
"main": "lib/index.js",

@@ -18,18 +33,3 @@ "files": [

"build": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/noltron000-coursework/tessellatron.git"
},
"keywords": [
"tessellate",
"tessellating",
"graph"
],
"author": "noltron000",
"license": "MIT",
"bugs": {
"url": "https://github.com/noltron000-coursework/tessellatron/issues"
},
"homepage": "https://github.com/noltron000-coursework/tessellatron#readme"
}
}

@@ -9,2 +9,8 @@ # Tessellatron

## Parameters
### `Graph.layout`
This property is defined by the class itself.
For example, HypercubeGraph uses functions to make a graph shaped like a hypercube.
Therefore, the layout is *"hypercube"*.
The same can be said about hexagonal layouts.
### `Graph.dimensions`

@@ -11,0 +17,0 @@ This property shows how long each dimension is.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc