CODE:
import org.openide.util.Lookup;import org.gephi.data.attributes.api.AttributeController;org.openide.util.Lookup.getDefault().lookup(org.gephi.data.attributes.api.AttributeController).getModel();
Statistics:Posted by eduramiba — 07 Jan 2013 14:35
Statistics:Posted by stablum — 06 Jan 2013 15:32
Statistics:Posted by eduramiba — 04 Jan 2013 23:13
CODE:
>>> type(gd)<type 'org.gephi.statistics.plugin.GraphDistance'>
CODE:
>>> type(gu)<type 'org.gephi.graph.dhns.graph.HierarchicalUndirectedGraphImpl'>
CODE:
>>> gu.class.__bases__[0].__bases__[0]<type 'org.gephi.graph.api.HierarchicalGraph'>
CODE:
>>> type(ga)<type 'org.gephi.data.attributes.AttributeRowImpl'>
CODE:
>>> gd.execute(gu,ga)Traceback (most recent call last): File "<input>", line 1, in <module>TypeError: execute(): 1st arg can't be coerced to org.gephi.graph.api.HierarchicalGraph, org.gephi.graph.api.GraphModel
Statistics:Posted by stablum — 04 Jan 2013 15:50