Skip to content

Commit

Permalink
Fourth.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Esposito committed Oct 10, 2024
1 parent 5fc6120 commit 721056e
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 23 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
- name: Validate the Power BI Visual
run: pbiviz validate

- name: Run tests
run: npm test

- name: Upload .pbiviz artifact
uses: actions/upload-artifact@v3
with:
Expand Down
38 changes: 26 additions & 12 deletions capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,28 @@
"dataViewMappings": [
{
"categorical": {
"categories": [
{
"displayName": "Nodi",
"name": "nodes",
"items": [{ "bind": { "to": "NodeName" } }]
"categories": {
"for": {
"in": "NodeName"
}
],
},
"values": {
"select": [
{ "bind": { "to": "NodeColor" } },
{ "bind": { "to": "NodeSize" } },
{ "bind": { "to": "SourceNode" } },
{ "bind": { "to": "TargetNode" } },
{ "bind": { "to": "EdgeLabel" } }
{
"bind": { "to": "NodeColor" }
},
{
"bind": { "to": "NodeSize" }
},
{
"bind": { "to": "SourceNode" }
},
{
"bind": { "to": "TargetNode" }
},
{
"bind": { "to": "EdgeLabel" }
}
]
}
}
Expand Down Expand Up @@ -75,5 +83,11 @@
}
}
}
}
},
"privileges": [
{
"name": "WebAccess",
"essential": true
}
]
}
31 changes: 26 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
"pbiviz": "pbiviz",
"start": "pbiviz start",
"package": "pbiviz package",
"lint": "npx eslint ."
"lint": "npx eslint .",
"build": "pbiviz package"
},
"dependencies": {
"@types/d3": "7.4.3",
"core-js": "^3.38.1",
"d3": "7.9.0",
"powerbi-visuals-api": "^5.11.0",
"powerbi-visuals-api": "~5.3.0",
"powerbi-visuals-utils-dataviewutils": "^6.1.0",
"powerbi-visuals-utils-formattingmodel": "6.0.4",
"vis-network": "^9.1.9"
Expand Down
27 changes: 26 additions & 1 deletion pbiviz.json
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
{"visual":{"name":"interactiveGraph","displayName":"InteractiveGraph","guid":"interactiveGraphDA509FABDFB34B47B9E7C557D3D08BF0","visualClassName":"Visual","version":"1.0.0.0","description":"","supportUrl":"","gitHubUrl":""},"apiVersion":"5.3.0","author":{"name":"","email":""},"assets":{"icon":"assets/icon.png"},"externalJS":null,"style":"style/visual.less","capabilities":"capabilities.json","dependencies":null,"stringResources":[],"version":"1.0.0.0"}
{
"visual": {
"name": "interactiveGraph",
"displayName": "InteractiveGraph",
"guid": "interactiveGraphDA509FABDFB34B47B9E7C557D3D08BF0",
"visualClassName": "Visual",
"version": "1.0.0.0",
"description": "Please work!",
"supportUrl": "nope",
"gitHubUrl": ""
},
"apiVersion": "5.3.0",
"author": {
"name": "Simone Esposito",
"email": "[email protected]"
},
"assets": {
"icon": "assets/icon.png"
},
"externalJS": null,
"style": "style/visual.less",
"capabilities": "capabilities.json",
"dependencies": null,
"stringResources": [],
"version": "1.0.0.0"
}

0 comments on commit 721056e

Please sign in to comment.