Comments (4)
Hi,
My solution for this, without folder renaming, is update your tsconfig
like this
"compilerOptions": {
...,
"paths": {
"@dagrejs/dagre": ["./node_modules/@types/dagre"]
}
}
from dagre.
I've added the types file directly to Dagre as an index.d.ts and released the change to NPM. Does that work?
Also, let me know which APIs are missing and I'll update the types.
from dagre.
I've added the types file directly to Dagre as an index.d.ts and released the change to NPM. Does that work?
Also, let me know which APIs are missing and I'll update the types.
you would need to define them in the package.json with "files": ["index.d.ts"]
and also have a "typings":"index.d.ts",
from dagre.
Added the files & types to the package.json
from dagre.
Related Issues (20)
- When each node has its own child nodes, their child nodes will not affect each other. Now they will be displayed equally HOT 2
- Recursive DFS implementations
- Edge position/ ordering
- dagre.layout(g) doesn't work
- layout.js can return rank for user๏ผ HOT 1
- Original ordering is not respected in some cases when cross-count is already 0
- How to set specific limit for number of child nodes in one row in parent node in dagre-d3?
- Having more than one rankdir
- dagre layout can't fetch edges HOT 1
- How many number of nodes does dagre support?
- Odd looking long branches
- What's the plan going forward? HOT 6
- Improve documentation HOT 1
- Accessibility: allow for usage of rem or px in height and width
- Consider using webgpu rewriting?
- Dagre not able to draw my graph without 2 edges crossing HOT 2
- Why do these edges cause errors?
- Maintaining custom node order in dagre layout HOT 6
- Child nodes after layout cannot be aligned horizontally
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dagre.