Fixed Red
Browse files
flow.py
CHANGED
@@ -14,11 +14,6 @@ class FlowChart:
|
|
14 |
def create_default_state(self):
|
15 |
"""Initialize default nodes and edges."""
|
16 |
|
17 |
-
# Convert SVG to Base64 string
|
18 |
-
image_path = "data/img/Deutscher_Bundestag.svg"
|
19 |
-
with open(image_path, "rb") as image_file:
|
20 |
-
image_base64 = base64.b64encode(image_file.read()).decode("utf-8")
|
21 |
-
|
22 |
nodes = [
|
23 |
# Source
|
24 |
StreamlitFlowNode("bundestag",(0, 0), {"content": "Bundestag"}, "input", "right"),
|
|
|
14 |
def create_default_state(self):
|
15 |
"""Initialize default nodes and edges."""
|
16 |
|
|
|
|
|
|
|
|
|
|
|
17 |
nodes = [
|
18 |
# Source
|
19 |
StreamlitFlowNode("bundestag",(0, 0), {"content": "Bundestag"}, "input", "right"),
|