see if this function works for GEXF (Graph Exchange XML Format ) -> JSON

Created: 3 years ago  Author: Md Mahfoozur Rahman

see if this function works for GEXF -> JSON

hm i got this error




13-09-22

My Comments

I was checking on gexf data importing converting in json and tweaking attributes for edges ( source and target ) and it seems there are so many edges here above 2k..

so doing importing core i5 10th gen is getting hung..

so can you give me one simpler gexf to check importing works ok.. then we can optimize more for bigger network..

Rene Comments

UI looking nice

dude just look up a GEXF

man its been like 5+ years

it's like...

why wait?

you dont need me to give you a smaller GEXF

it takes 5 seconds to find

My Comments

lol.. sure I will look for it then.. I thought as you collect and check so you might have some of these sample data.. sure no problem.. I will look out..

Hey there.. Hope you are doing well..
Sorry I could not sit for work as much as I liked.. both myself and all my family members suffered from pink eye infection.. now I have recovered much though and will be resuming work.. and will let you know update as soon as I have one.. Sorry again..

Rene, 7:30 PM
sure

no worries man

good you finally picked up the money ..

?

Myself 8:13 PM
Yeah.. I wud have earlier. But as both I and all of my falimily members were sick with pink eye infection did not get chance.

Some challenges faced while implementing this feature

1. converting gexf data to json with proper attributes such as edges source and target. Also node id starts from 0.
2. was uploading 0 size file into json import to check converted json data upload from gexf format. as a result in site it was showing invalid foreach loop and sql error around max_degree = inside ajax/save/node.php



20-10-22

I am still on gexf importing.. I have completed implemented feature in my localhost.. and checking importing with datasets I am finding from the net.. but it seems all the gexf data are large.. which have thousands of edges.. so they are taking time to import.. into the site (4-5 mins ) .. may be I need to tweak insert queries even more.. that is instead of one by one insert.. I probably need to do single multiple inserts.. Then it is also taking time to load in canvas also.. ( 3-4 mins ).. I will soon push the changes to atomstoeve and give you dataset for your checking..
5:04 PM
here is one..


here are datasets


LesMiserables.gexf


celegans.gexf


codeminer.gexf
5:15 PM
yes pushed my changes to bitbucket.. once Rahul adds those to atomstoeve you will be able to check..



25-10-22

regarding netsci work.. although I worked on two issues.. but I found lot more tweaks and refactoring doing these two issues.. here are list of tasks that I did..
1. removed previously created editnode processing which is unused js code in addedit.js
2. some refactoring in config.php for overall image uploading server path used site wide
3. Ajax of edit project in modal was not loading so fixed it.
4. adding and uploading image with preview for project in edit project modal for manual image upload beside canvas autosaving.. I have created a separate db table for this to prevent more cluttering on projects table..
5. Some refactoring for json_import like separating import process from html form displaying.
6. Implementing gexf importing using pdo with php code given by you.. also had to reprocess node and edges array as per our database column format saving..
7. Finding gexf dataset from net.
8. Studying graphml importing from coverter to add this feature into site.
so two main issues above are 1. uploading project cover image 2. importing gexf data..


21-01-23 

was checking on gexf importing and finding this error.. ( in atomstoeve.com )

Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /home/apps/networksci/pages/createnetwork/process/gexf_import.php:59 Stack trace: #0 /home/apps/networksci/pages/createnetwork/gexf_import.php(24): require_once() #1 {main} thrown in /home/apps/networksci/pages/createnetwork/process/gexf_import.php on line 59

1:49 AM

so I think simplexml extension needs to be installed in the server

because of this the importing is not working

Topic: Importing  Topic Creator: Md Mahfoozur Rahman


Comments

No comments yet.

Related Posts

What ever happened to graphML - 8hrs

Created: 3 years ago  Author: Md Mahfoozur Rahman

Did you ever look at the GML uploade

Created: 3 years ago  Author: Md Mahfoozur Rahman

do these fail from the first line ?

Created: 3 years ago  Author: Md Mahfoozur Rahman