Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/pr-mcp-neo4j-data-modeling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v3

- name: Set up Python 3.12
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: '3.12'
python-version: ${{ matrix.python-version }}

- name: Install UV
run: |
Expand Down
2 changes: 2 additions & 0 deletions servers/mcp-neo4j-data-modeling/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
## Next

### Fixed
* Remove back slashes from f-string in Mermaid config generation

### Changed

### Added
* Update PR workflow to iterate over Python 3.10 to 3.13

## v0.2.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,14 @@ def get_mermaid_config_str(self) -> str:
mermaid_nodes = [n.get_mermaid_config_str() for n in self.nodes]
mermaid_relationships = [r.get_mermaid_config_str() for r in self.relationships]
mermaid_styling = self._generate_mermaid_config_styling_str()
nodes_formatted = "\n".join(mermaid_nodes)
relationships_formatted = "\n".join(mermaid_relationships)
return f"""graph TD
%% Nodes
{"\n".join(mermaid_nodes)}
{nodes_formatted}

%% Relationships
{"\n".join(mermaid_relationships)}
{relationships_formatted}

{mermaid_styling}
"""
Expand Down