Closed pakolia closed 9 years ago
The idea is that objects.json
contains the data, and config.json
contains the rules needed for processing the data. There is some processing done to both files before they are sent to the browser:
config.json
parsingobjects.json
parsing and processingThere is logic in common.php
that changes the objects from an array to a hash, checks for dependency errors, and adds the dependedOnBy
and docs
properties to each object. Go to http://nylen.tv/d3-process-map/json.php to see the results of this logic, which is what the client-side code in script.js
is expecting for data.
The best way to do this is to re-use the HTML and JavaScript code, and re-write that PHP logic in ASP.NET.
Thanks for the response.
Do you have very above files for very small subset of the data? I am having tough time understanding co-relation in the objecs.json and config.json files with current data since it's very huge and with many dependency. I am looking for simple sample json files to start with.
Cheers.
Hi Nylen,
Is there a way to highlight two levels of information instead of just one level in this visualization?
Thanks,
No I don't have any simpler example files. If you have specific questions about the data format I can answer those. Otherwise you can try making smaller example files yourself.
See #3 for how you would change the code to highlight multiple levels of information.
Closing due to inactivity.
Can this tool can integrate with ASP.Net web services? I am planning to fetch data from SQL Server database.
Why there is config.json and object.jason two separate files? Do I need to update both if I get data via web services?
Thanks, Prashant