Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -39,13 +39,14 @@ if st.button('Обработать') and txt != '':
|
|
39 |
textnet = Network( height='400px',
|
40 |
width='100%',
|
41 |
bgcolor='white',
|
42 |
-
font_color='black'
|
|
|
43 |
)
|
44 |
|
45 |
textnet.from_nx(graph)
|
46 |
|
47 |
textnet.repulsion(
|
48 |
-
node_distance=
|
49 |
central_gravity=0.33,
|
50 |
spring_length=110,
|
51 |
spring_strength=0.10,
|
|
|
39 |
textnet = Network( height='400px',
|
40 |
width='100%',
|
41 |
bgcolor='white',
|
42 |
+
font_color='black',
|
43 |
+
select_menu=True
|
44 |
)
|
45 |
|
46 |
textnet.from_nx(graph)
|
47 |
|
48 |
textnet.repulsion(
|
49 |
+
node_distance=220,
|
50 |
central_gravity=0.33,
|
51 |
spring_length=110,
|
52 |
spring_strength=0.10,
|