You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to what CoGraph allows, but by using URL fragments known from @fedwiki lineups.
If I searched for Space and Time, they'd automatically be added to the URL and therefore create a stable view onto the data. Those nodes should be expanded by default on load.
I'll look into it, and report back if I implement it. Data would need to be stored about each expanded node, which I don't think it would be reasonable to store in the URL, especially since which articles are linked is something liable to change in a wiki.
If I searched for Space and Time, they'd automatically be added to
the URL and therefore create a stable view onto the data. Those nodes
should be expanded by default on load.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #18
I've been thinking more about how to do this. I don't want to store data for people's networks on my server, because I have very limited storage. The implementation I'm thinking about now is:
Implement a method to save data as JSON, and a method for loading that JSON back in. This should be as simple as storing nodes and edges by converting vis.DataSets as JSON
Use a service like Dropbox to get a small amount of free storage, and store JSON files there.
Use a URL shortener to get a short link to the file stored in Dropbox.
Get the ending to the shortened URL, and use it as a form parameter in the URL. Wikipedia Map would look up this text with the URL shortener to get the path to the JSON.
So an example shared URL would look like http://luke.deentaylor.com/wikipedia/?graph=QtQET. Wikipedia would then look to http://bit.ly/QtQET for the JSON file, assuming that link pointed to a Dropbox file.
What do you think?
(Sorry I accidentally pressed "close" before, didn't mean to)
I thought just delivering attached data via the URL would be enough? Why caching a graph on the client side if it can be regenerated at any time? The server could then do optimisations in keeping responses available.
Else I believe @remotestorage or @scripting's nodestorage.io could be simple JSON storage options? Or even GitHub Gists.
I've since given this a little more thought. I think I'll store nodes and edges as files on my server with random names, somewhere like luke.deentaylor.com/wikipedia/graphs/Igy5Kj. That's where JavaScript will look to find the JSON.
The reason that the network can't be automatically generated is that:
This would only ever be possible for edges, nodes is constructed in part through user actions.
Regenerating edges would involve visiting every wikipedia page for which an expanded node exists on the graph. That would take a while, the graph could take several minutes to fully reconstruct for very large networks, and would probably still take ~10 seconds on smallish networks.
The reason the data can't be passed in the URL is that large networks can have many hundreds of nodes. Not practical to pass that through a URL, unless I misunderstand what you're saying.
It sounds reasonable to me to cache parts of the Wikipedia link graph locally. But will I be able to request wikipedia-map/Spacetime/Complexity, for example?
What would your intended behavior be for that? Would it be adding two
nodes, "spacetime" and "complexity"? Wikipedia Map doesn't have
functionality for connecting those together automatically, if that's what
you're thinking.
It sounds reasonable to me to cache parts of the Wikipedia link graph
locally. But will I be able to request wikipedia-map/Spacetime/Complexity,
for example?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub #18 (comment)
In case you hadn't noticed, I implemented this whole thing more than a month ago, I just haven't implemented a UI. I'm working on an interface now. This will replace the twitter button.
In case you hadn't noticed, I implemented this whole thing more than a
month ago, I just haven't implemented a UI. I'm working on an interface
now. This will replace the twitter button.
Sorry that I still haven't gotten to this. I've got everything except the button to share it, but I've been pressed for time. Hope to get this finished soon. I'm kind of embarrassed I've taken so long on this.
@controversial, this tool is amazing, so firstly, thanks for sharing your work with the community!
The ability to share predefined graphs would be a very powerful way to share ideas, both general and specific and can be the perfect introduction to a talk or training session to give people a visual idea of the scope of the content being discussed.
@duncanawerbuck This is entirely implemented except for a physical share button on the GUI. There's a short console command one can type to save one's graph and get a shareable link, and the links work. There's a progress bar for loading and everything. I just have to stick the button on the app. I'll try to get to it at some point soon, I've kind of been prioritizing other projects
On Sunday, November 27, 2016, Luke Deen Taylor ***@***.***> wrote:
@duncanawerbuck <https://github.com/duncanawerbuck> This is entirely
implemented except for a physical share button on the GUI. There's a short
console command one can type to save your graph and get a shareable link,
and the links work. There's a progress bar for loading and everything. I
just have to stick the button on the app. I'll try to get to it at some
point soon, I've kind of been prioritizing other things
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABm9O7LNZIxjpJHAqCGGiimV22ALomIkks5rCfPzgaJpZM4IM1XE>
.
On Sun, Nov 27, 2016 at 4:32 PM Dave Winer ***@***.***> wrote:
Please take me off the cc list. Thx.
On Sunday, November 27, 2016, Luke Deen Taylor ***@***.***>
wrote:
> @duncanawerbuck <https://github.com/duncanawerbuck> This is entirely
> implemented except for a physical share button on the GUI. There's a
short
> console command one can type to save your graph and get a shareable link,
> and the links work. There's a progress bar for loading and everything. I
> just have to stick the button on the app. I'll try to get to it at some
> point soon, I've kind of been prioritizing other things
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#18 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ABm9O7LNZIxjpJHAqCGGiimV22ALomIkks5rCfPzgaJpZM4IM1XE
>
> .
>
--
Typed on an iPad with fat fingers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ5Yr8A7c4nZPN7StUPFGs0xzxll23bkks5rCfb-gaJpZM4IM1XE>
.
Activity
controversial commentedon Apr 21, 2016
I'll look into it, and report back if I implement it. Data would need to be stored about each expanded node, which I don't think it would be reasonable to store in the URL, especially since which articles are linked is something liable to change in a wiki.
On Thu, Apr 21, 2016 at 12:06 PM jon r notifications@github.com wrote:
controversial commentedon May 3, 2016
I've been thinking more about how to do this. I don't want to store data for people's networks on my server, because I have very limited storage. The implementation I'm thinking about now is:
nodesandedgesby convertingvis.DataSets as JSONSo an example shared URL would look like
http://luke.deentaylor.com/wikipedia/?graph=QtQET. Wikipedia would then look tohttp://bit.ly/QtQETfor the JSON file, assuming that link pointed to a Dropbox file.What do you think?
(Sorry I accidentally pressed "close" before, didn't mean to)
almereyda commentedon May 7, 2016
I thought just delivering attached data via the URL would be enough? Why caching a graph on the client side if it can be regenerated at any time? The server could then do optimisations in keeping responses available.
Else I believe @remotestorage or @scripting's nodestorage.io could be simple JSON storage options? Or even GitHub Gists.
controversial commentedon May 7, 2016
I've since given this a little more thought. I think I'll store
nodesandedgesas files on my server with random names, somewhere likeluke.deentaylor.com/wikipedia/graphs/Igy5Kj. That's where JavaScript will look to find the JSON.The reason that the network can't be automatically generated is that:
edges,nodesis constructed in part through user actions.The reason the data can't be passed in the URL is that large networks can have many hundreds of nodes. Not practical to pass that through a URL, unless I misunderstand what you're saying.
almereyda commentedon May 7, 2016
It sounds reasonable to me to cache parts of the Wikipedia link graph locally. But will I be able to request
wikipedia-map/Spacetime/Complexity, for example?controversial commentedon May 7, 2016
What would your intended behavior be for that? Would it be adding two
nodes, "spacetime" and "complexity"? Wikipedia Map doesn't have
functionality for connecting those together automatically, if that's what
you're thinking.
On Sat, May 7, 2016 at 5:14 PM jon r notifications@github.com wrote:
Add backend for storing JSON
Add method for serializing network
Add deserialization methods
Correctly handle floating edges
Add full API for saving and loading graphs 🎉
controversial commentedon Jun 17, 2016
In case you hadn't noticed, I implemented this whole thing more than a month ago, I just haven't implemented a UI. I'm working on an interface now. This will replace the twitter button.
almereyda commentedon Jun 17, 2016
No, I didn't get to running it locally, yet. But am impressed how you
picked up this suggestion.
On 17 June 2016 at 16:55, Luke Deen Taylor notifications@github.com wrote:
Add a share button and a popout
controversial commentedon Oct 7, 2016
Sorry that I still haven't gotten to this. I've got everything except the button to share it, but I've been pressed for time. Hope to get this finished soon. I'm kind of embarrassed I've taken so long on this.
duncanawerbuck commentedon Nov 27, 2016
@controversial, this tool is amazing, so firstly, thanks for sharing your work with the community!
The ability to share predefined graphs would be a very powerful way to share ideas, both general and specific and can be the perfect introduction to a talk or training session to give people a visual idea of the scope of the content being discussed.
Can't wait to try it!
controversial commentedon Nov 27, 2016
@duncanawerbuck This is entirely implemented except for a physical share button on the GUI. There's a short console command one can type to save one's graph and get a shareable link, and the links work. There's a progress bar for loading and everything. I just have to stick the button on the app. I'll try to get to it at some point soon, I've kind of been prioritizing other projects
scripting commentedon Nov 27, 2016
controversial commentedon Nov 27, 2016