1. Updated flash vis form Asik.

2. Modified the fix for GUESS compatibility with coauthorship graphml file
This commit is contained in:
cdtank 2010-07-22 21:38:45 +00:00
parent fbd35a3073
commit 53987ce8f3
5 changed files with 5 additions and 12 deletions

View file

@ -339,7 +339,7 @@ function renderCoAuthorshipVisualization() {
"src", swfLink, "src", swfLink,
"flashVars", "graphmlUrl=" + egoCoAuthorshipDataFeederURL, "flashVars", "graphmlUrl=" + egoCoAuthorshipDataFeederURL,
"width", "600", "width", "600",
"height", "805", "height", "840",
"align", "top", "align", "top",
"id", "CoAuthor", "id", "CoAuthor",
"quality", "high", "quality", "high",

View file

@ -10,7 +10,7 @@
<c:param name="vis" value="coauthorship" /> <c:param name="vis" value="coauthorship" />
<c:param name="render_mode" value="data" /> <c:param name="render_mode" value="data" />
<c:param name="uri" value="${requestScope.egoURIParam}" /> <c:param name="uri" value="${requestScope.egoURIParam}" />
<c:param name="labelField" value="name" /> <c:param name="labelField" value="label" />
</c:url> </c:url>
<c:url var="egoCoAuthorsListDataFileURL" value="/admin/visQuery"> <c:url var="egoCoAuthorsListDataFileURL" value="/admin/visQuery">

View file

@ -215,7 +215,7 @@ public class CoAuthorshipGraphMLWriter {
graphMLContent.append("<node id=\"" + node.getNodeID() + "\">\n"); graphMLContent.append("<node id=\"" + node.getNodeID() + "\">\n");
graphMLContent.append("\t<data key=\"url\">" + node.getNodeURL() + "</data>\n"); graphMLContent.append("\t<data key=\"url\">" + node.getNodeURL() + "</data>\n");
graphMLContent.append("\t<data key=\"name\">" + node.getNodeName() + "</data>\n"); // graphMLContent.append("\t<data key=\"name\">" + node.getNodeName() + "</data>\n");
graphMLContent.append("\t<data key=\"label\">" + node.getNodeName() + "</data>\n"); graphMLContent.append("\t<data key=\"label\">" + node.getNodeName() + "</data>\n");
if (profileURL != null) { if (profileURL != null) {
@ -324,14 +324,5 @@ public class CoAuthorshipGraphMLWriter {
} }
} }
} }

View file

@ -153,6 +153,7 @@ public class VisVOContainer {
nodeSchema.add(schemaAttributes); nodeSchema.add(schemaAttributes);
/*
schemaAttributes = new LinkedHashMap<String, String>(); schemaAttributes = new LinkedHashMap<String, String>();
schemaAttributes.put("id", "name"); schemaAttributes.put("id", "name");
@ -161,6 +162,7 @@ public class VisVOContainer {
schemaAttributes.put("attr.type", "string"); schemaAttributes.put("attr.type", "string");
nodeSchema.add(schemaAttributes); nodeSchema.add(schemaAttributes);
*/
schemaAttributes = new LinkedHashMap<String, String>(); schemaAttributes = new LinkedHashMap<String, String>();