iterate poc
This commit is contained in:
parent
d38eb0ec5d
commit
d0b102fd1f
2 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
import json
|
import json
|
||||||
import sys
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
|
||||||
|
|
9
main.js
9
main.js
|
@ -61,6 +61,15 @@ document.addEventListener("DOMContentLoaded", async (event) => {
|
||||||
'background-color': 'data(color)',
|
'background-color': 'data(color)',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
selector: 'node:selected',
|
||||||
|
style: {
|
||||||
|
'border-width': "6px",
|
||||||
|
'border-color': "#AA0000",
|
||||||
|
'border-opacity': "0.7",
|
||||||
|
'font-weight': 'bold'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
selector: 'edge',
|
selector: 'edge',
|
||||||
style: {
|
style: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue