Remove extraneous info

This commit is contained in:
Ladd Hoffman 2023-07-10 02:41:44 -05:00
parent 5230f8664b
commit 907b99bb65
4 changed files with 0 additions and 8 deletions

View File

@ -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} &rarr; ${this.to.id}</span><br>`;
return html;
}

View File

@ -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()) {

View File

@ -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;
};

View File

@ -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;
}