Comments (4)
Hi Pierre,
Thank you for your investigation on the matter. I have a backup plan anyway to avoid having to deal with IE, luckily enough there are Python libraries supporting the Chromium interface and Iām going to switch to those.
from treeviz.
Hello Andrea,
I'm not an expert on that topic, and I'll need to investigate and spend some time on it. To give you some visibility, I'm a bit busy right now, I will be only able to investigate and find a solution next week only.
If this is urgent, here are my thoughts on the topic if you want to investigate furthermore :
- It's weird because the ts compiler output ES5 code which should be compatible with IE11
: https://github.com/PierreCapo/treeviz/blob/master/packages/treeviz/tsconfig.json#L4 - Seems like indeed the
setProperty
function can be found in https://github.com/PierreCapo/treeviz/blob/master/packages/treeviz/dist/index.js, so for whatever reason this code is not compatible with IE11 whereas the ts compiler outputs ES5 code.
Sorry for delaying the answer, I hope those explanations will help you.
Have a good day.
from treeviz.
Hi Pierre,
looking a bit on the debugging side, it appears that (at least part of) the reason is that the code uses "foreignObject" in two places (packages/treeviz/src/nodes/node-enter.ts and packages/treeviz/src/nodes/node-update.ts), and IE11 does not support foreignObject... do you think there is an alternative to that? I am sorry, I am really a noob when it comes to JavaScript, I have tried to look around on the web but I can't see any viable replacement.
Thank you.
Andrea.
from treeviz.
Hello Andrea, I have checked, and indeed, I reach the same conclusion as you. After adding es5 and es6 shim in the index.html
file for ie 11 support:
I'm stuck with the setProperty
and foreignObject
issue. ForeignObject is not supported by IE and can't be polyfilled.
From what I have checked too, there is no straight forward solution, I'm sorry to say that, but seems like treeviz
is not and won't be compatible for ie11.
What a nightmare that you have to support ie11 by the way, I feel bad for you.
Sorry not being able to help you on that one. Have a good day!
from treeviz.
Related Issues (20)
- Graph not updating when data changes. (TreevizReact)
- [FEAT] Expose scrolling functions
- Online example is not working.
- Vanilla JS Setup
- Wrong treeviz.js (or absent index.js) file
- linkColor doesn't re-trigger on update HOT 2
- areaWidth, areaHeight being ignored...? HOT 3
- Issue with importing when using NextJS HOT 2
- Refresh issue. TypeError: Cannot read property 'x0' of undefined HOT 5
- Doc/readme using in correct parameter for flat data HOT 3
- Unable to use React components within the node HTML HOT 5
- When idKey is not set to "id", the whole tree will be redrawn on refresh
- package is not built when installing with npm
- Standalone library? HOT 6
- ITreeConfig.duration is missing from API document HOT 1
- Zoom and Pan has not effect HOT 2
- Critical dependency: the request of a dependency is an expression HOT 4
- Changing position of root node after re-render tree HOT 1
- Request for more documentation on the new version
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 treeviz.