iilab / openoil

Open Oil Corporate Network Navigator
GNU General Public License v3.0
14 stars 6 forks source link

Contract name is not shown completely #35

Closed jmatsushita closed 9 years ago

jmatsushita commented 9 years ago

Posted in #34 by @antnrueh

found some of the details, i.e. for contracts, but faced a bug: not enough space for contract details (using this query: MATCH p=(k)-[:HAS_JURISDICTION]-(a:Company)<-[hc:HAS_CONTRACTOR]-(c:Contract)<-[i:AWARDS]-(b:Company)-[:HAS_JURISDICTION]-(j) WHERE TOINT(c.value_usd) > 10000000 UNWIND nodes(p) as nodes UNWIND relationships(p) as links RETURN {nodes: [ x in collect(DISTINCT nodes) | {node: x, label: labels(x), id: id(x)}], links: collect(DISTINCT links)} as result image