Remove extraneous info
This commit is contained in:
parent
5230f8664b
commit
907b99bb65
|
@ -31,13 +31,11 @@ export class Edge {
|
|||
getHtml() {
|
||||
const edges = this.getComorphicEdges();
|
||||
let html = '';
|
||||
html += `<span class=small>edge${edges.length > 1 ? 's' : ''}</span><br>`;
|
||||
html += '<table>';
|
||||
for (const { type, weight } of edges) {
|
||||
html += `<tr><td>${type}</td><td>${weight}</td></tr>`;
|
||||
}
|
||||
html += '</table>';
|
||||
html += `<span class=small>${this.from.id} → ${this.to.id}</span><br>`;
|
||||
|
||||
return html;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class Vertex {
|
|||
}
|
||||
|
||||
let html = '';
|
||||
html += '<span class=small>vertex</span><br>';
|
||||
html += `${this.label}`;
|
||||
html += '<table>';
|
||||
for (const [key, value] of this.properties.entries()) {
|
||||
|
|
|
@ -18,10 +18,6 @@ const newExpert = async () => {
|
|||
const index = experts.length;
|
||||
const name = `Expert${index + 1}`;
|
||||
const expert = await new Expert(dao, name, scene).initialize();
|
||||
expert.setDisplayValue(
|
||||
'rep',
|
||||
() => dao.reputation.valueOwnedBy(expert.reputationPublicKey),
|
||||
);
|
||||
experts.push(expert);
|
||||
return expert;
|
||||
};
|
||||
|
|
|
@ -17,7 +17,6 @@ async function newExpert() {
|
|||
const index = experts.length;
|
||||
const name = `Expert${index + 1}`;
|
||||
const expert = await new Expert(dao, name, scene).initialize();
|
||||
await expert.addComputedValue('rep', () => dao.reputation.valueOwnedBy(expert.reputationPublicKey));
|
||||
experts.push(expert);
|
||||
return expert;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue