Spaces:
Running
Running
Change circular image to dot
Browse files
pages/3 Bidirected Network.py
CHANGED
@@ -198,12 +198,11 @@ if uploaded_file is not None:
|
|
198 |
nodes.append( Node(id=x,
|
199 |
label=x,
|
200 |
size=50*w+10,
|
201 |
-
shape="
|
202 |
labelHighlightBold=True,
|
203 |
group=x,
|
204 |
opacity=10,
|
205 |
-
mass=1
|
206 |
-
image="https://upload.wikimedia.org/wikipedia/commons/f/f1/Eo_circle_yellow_circle.svg")
|
207 |
)
|
208 |
|
209 |
for y,z,a,b in zip(res['antecedents'],res['consequents'],res['confidence'],res['to']):
|
|
|
198 |
nodes.append( Node(id=x,
|
199 |
label=x,
|
200 |
size=50*w+10,
|
201 |
+
shape="dot",
|
202 |
labelHighlightBold=True,
|
203 |
group=x,
|
204 |
opacity=10,
|
205 |
+
mass=1)
|
|
|
206 |
)
|
207 |
|
208 |
for y,z,a,b in zip(res['antecedents'],res['consequents'],res['confidence'],res['to']):
|