@rbxts/graph
TypeScript icon, indicating that this package has built-in type declarations

1.0.1-ts.1 • Public • Published

rbxts-graph

boatbomber's Graph class with types!

import Graph from '@rbxts/graph';

const playerGui = game.GetService('Players').LocalPlayer.FindFirstChild('PlayerGui') as PlayerGui;
const screenGui = new Instance('ScreenGui');
const frame = new Instance('Frame');
frame.Size = UDim2.fromScale(0.5, 0.5);
frame.Position = UDim2.fromScale(0.25, 0.25);
frame.Parent = screenGui;

const graph = new Graph(frame);
graph.Data = {
    test: [1, 2, 3, 4, 5]
};
graph.Resolution = 2;

screenGui.Parent = playerGui;

Readme

Keywords

Package Sidebar

Install

npm i @rbxts/graph

Weekly Downloads

0

Version

1.0.1-ts.1

License

none

Unpacked Size

12.2 kB

Total Files

4

Last publish

Collaborators

  • thenickmaster21