Giter Club home page Giter Club logo

typings-vis's People

Contributors

kaktus40 avatar michaelbitard avatar seveves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

typings-vis's Issues

Id of INode also number?

I think INodes id should also be a number therefor I would suggest changing it to IdType. Same for IEdges id and there references (from, to)

Typings don't seem to match vis v4.17.0

I've got Vis 4.17.0 and I can't add "color" to an INode with the 1.0.0 typings from this project.

I would expect this to be possible, given the Vis code:

function makePageNode(node:SiteNode, parentNode:SiteNode):INode {
	return {
		id: node._id,
		label: node.title,
		shape: "box",
		color: "#112233"
	}
}

And the Vis Node javascript class definitely has a color field,
but with these typings I can't use color in the INode.

It seems like I need to use and INodeOptions object instead but I can't pass a DataSet of those into a Network class. I am happy to fix it if it's an actual problem but I suspect there's something here I don't understand.

How to insert vs.d.ts into typings

Hello, I'd like to use your definition into a project.
How can insert it with typings?
I tried without good result:

typings install github~typings-vis github:agileek/typings-vis --global

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.