Display vertex type in graph
This commit is contained in:
parent
8d0daf2062
commit
9eff884636
|
@ -38,7 +38,9 @@ export class Vertex {
|
|||
return;
|
||||
}
|
||||
|
||||
let html = `${this.label}`;
|
||||
let html = '';
|
||||
html += `<span class=small>${this.type}</span><br>`;
|
||||
html += `${this.label}`;
|
||||
html += '<table>';
|
||||
for (const [key, value] of this.properties.entries()) {
|
||||
const displayValue = typeof value === 'number' ? displayNumber(value) : value;
|
||||
|
|
|
@ -88,4 +88,9 @@ table {
|
|||
}
|
||||
form {
|
||||
min-width: 20em;
|
||||
}
|
||||
.small {
|
||||
font-size: 8pt;
|
||||
line-height: 0;
|
||||
color: #999999;
|
||||
}
|
Loading…
Reference in New Issue