CODE:
[00:35] < vikash23> luizribeiro: ping[00:41] < luizribeiro> vikash23: hey[00:42] < vikash23> luizribeiro: i have been working on my proposal and have decide to use D3.js to create reports. it basically allows to bind data to DOM objects and apply transformations.[00:42] < vikash23> luizribeiro: is it okay to go with D3[00:43] < luizribeiro> sure, D3 is fine[00:43] < luizribeiro> did you read my last post on the forums?[00:44] < vikash23> luizribeiro: yes i read you post on the forum, and i am going about the proposal as you suggested. i.e getReturn() function returing a java object for the attributes of a report.[00:45] < luizribeiro> vikash23: cool! hope you find that information useful[00:46] < vikash23> luizribeiro: i have one more question regarding saving and browsing reports. what formats do you need to save the reports ? will it work if we save it in normal html format or do we need to export it as a pdf.[00:49] < luizribeiro> vikash23: well, I don't think exporting as pdf is necessary on a first moment. but I would model everything in a way that we could extend the API later to export reports as PDF files[00:51] < luizribeiro> for example, creating a ReportPrinter interface and implementing many different report printers based on it (e.g. HTML5ReportPrinter, PDFReportPrinter)[00:52] < luizribeiro> what do you think?[00:53] < vikash23> ok. i think this is the right way to do it.[00:54] < vikash23> luizribeiro: luizribeiro: ok. one more question.i have this publishReport() function to publish the generated html reports to the web browser. is it fine to save this in the temp folder and the browse can retrieve these files to display them.[00:54] < vikash23> *browser[00:57] < luizribeiro> yeah, I think that should be okay.[00:57] < luizribeiro> actually, I don't remember how it is currently done. did you had a chance to take a look at it?[00:58] < luizribeiro> I mean, if at the moment the code uses temporary files[00:59] < vikash23> luizribeiro: currently the static png images created using the jFreeChart is stored in the temp folder and its path is written to html files.[01:00] < luizribeiro> okay, I don't see why using temp files would be a problem. :)[01:01] < vikash23> luizribeiro: great !!, can i apply for two projects under gephi, as i am also interested in legend module project and done some research related to it.[01:02] < vikash23> luizribeiro: most of the organizations do allow students to apply for multiple projects.[01:02] < luizribeiro> sure, no problem[01:02] < luizribeiro> by the way, I just found a Report class on the ImportAPI module that can be of inspiration to us: https://github.com/gephi/gephi/blob/master/ImportAPI/src/org/gephi/io/importer/api/Report.java[01:04] < vikash23> luizribeiro: ok. thanks a lot. one last question. i have not fixed any of the bugs yet and i dont think its possible for me to do it before 6th i.e. the last day for proposal submission. is it fine if i do it after 6th.[01:05] < luizribeiro> no problem[01:07] < luizribeiro> would you mind if I posted a log of this conversation to the forum topic? to make this information available to other students as well?[01:08] < vikash23> luizribeiro: no not at all. after all open source it all about sharing ;) [01:08] < luizribeiro> cool, thanks!
Statistics:Posted by luizribeiro — 05 Apr 2012 05:18
CODE:
/* Warning: this is just for explanation purposes, the methods and classes' names would obviously be different and should follow the Gephi's guidelines for implementing new features (see the tutorial I linked in my first post of this topic) */public Report getReport() { Report modularityReport = new Report("Modularity Report"); ReportTable parametersTable = new ReportTable(); parametersTable.setData(...); // insert data into the table somehow modularityReport.appendComponent(parametersTable); // ... create and add the other components to the report ... return modularityReport;}
Statistics:Posted by luizribeiro — 02 Apr 2012 06:57
Statistics:Posted by LeoLin — 01 Apr 2012 16:19
Statistics:Posted by vikash23 — 31 Mar 2012 22:51
Statistics:Posted by luizribeiro — 29 Mar 2012 00:16
Statistics:Posted by vikash23 — 28 Mar 2012 19:55
Statistics:Posted by mbastian — 26 Mar 2012 00:01