Comments (15)
Noooooooooooo.....
from netwulf.
haha
from netwulf.
we are better than this
from netwulf.
it's probably the sweetalert tbh.
from netwulf.
It actually works for me :).
from netwulf.
from netwulf.
from netwulf.
found it. You seem to have switched to sweetalert2.all.min.js
in index.html
? But the functions in vis.js
don't seem to have changed, at least the post to python
did not. They're still written for sweetalert v1. Is there any reason you changed to v2?
from netwulf.
Hmmm.. I changed this long ago. v1 is not supported (developer gone missing), so v2 is the thing people are using now. I was getting errors with v1, so I switched.
from netwulf.
okay... looking at the API of swal2 (https://sweetalert2.github.io/) I'm actually suprised that the code wirtten for v1 works at all, because it seems to be very different to what is demanded (e.g. Swal.fire
vs swal
). I agree that in the long term the alerts should be replaced by v2 alerts but could we for now go back to v1 so it works without us doing any major work? :D what do you think?
from netwulf.
Yeeeah ok you're right this is all messed up. We can switch, but I was getting errors before, so it will probably cause some errors again. For the sake of development, let's switch now, and then move to v2 later.
from netwulf.
I updated the code in https://github.com/ulfaslak/network_styling_with_d3/ to sweetalert2. netwulf works fine for me now.
from netwulf.
whoa, super fast! works like a charm, thanks :)
One thing: the alerts have a serif font, now. Do they have that on your machine, too?
I could try changing that in the CSS if you agree. I bet it's something on my computer again though haha
from netwulf.
saw that: sweetalert2/sweetalert2#846
would you mind me changing the font to some sans-serif like helvetica, arial ?
from netwulf.
Yes please go ahead, not a fan of Serif (doesn't look like that on my machine though).
from netwulf.
Related Issues (20)
- label position examples are deprecated in the docs
- visualization with initially given positions is unfrozen when node properties are changed
- When nodes are dragged, labels stay on for that node HOT 6
- Getting Dataset does not have a key 'nodes' HOT 3
- Highlight connected nodes and edges HOT 2
- Problem with node attributes (specifically `bipartite') HOT 12
- Colouring nodes by property (e.g., degree) HOT 2
- Is netwulf available in anaconda? HOT 2
- ntwulf.visualize does not accept network as a dict HOT 5
- Netwulf changes the current working directory HOT 1
- Visualizing in google collab HOT 1
- Can't post visualization back to python HOT 2
- netwulf visualize ignores edge colors HOT 4
- Adding changes in CHANGELOG.md HOT 3
- is netwulf supports directed networkx ? HOT 4
- how to make .exe in Windows with pyinstaller and netwulf included [SOLVED] HOT 1
- some questions HOT 1
- Show edge labels
- nodes disappear when clicking on the nodes on a touchscreen HOT 2
- Canvas size ,self-loops ,large graphs? HOT 2
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 netwulf.