VS Code extension for Cosmos DB Graph databases.
Перейти к файлу
Alex Weininger 298c967e9c
Generate and publish sbom (#36)
2021-12-02 14:49:34 -05:00
.azure-pipelines Generate and publish sbom (#36) 2021-12-02 14:49:34 -05:00
.github Remove bots (#23) 2021-02-10 16:26:05 -08:00
.vscode Update dependencies and engineering practices (#4) 2020-05-19 12:03:33 -07:00
resources Refactor extension to support just graph explorer 2020-03-13 16:17:21 -07:00
src Fix webview resource path on windows (#9) 2020-09-11 15:52:57 -07:00
test Update dependencies and engineering practices (#4) 2020-05-19 12:03:33 -07:00
.gitignore Update dependencies and engineering practices (#4) 2020-05-19 12:03:33 -07:00
.vscodeignore Update dependencies and engineering practices (#4) 2020-05-19 12:03:33 -07:00
CHANGELOG.md Deprecate extension and prep for release (#10) 2020-09-11 15:53:11 -07:00
LICENSE.md Prep for publish 2017-06-09 14:39:09 -07:00
NOTICE.html Deprecate extension and prep for release (#10) 2020-09-11 15:53:11 -07:00
README.md Deprecate extension and prep for release (#10) 2020-09-11 15:53:11 -07:00
extension.bundle.ts Refactor extension to support just graph explorer 2020-03-13 16:17:21 -07:00
gulpfile.ts Update dependencies and engineering practices (#4) 2020-05-19 12:03:33 -07:00
main.js Update dependencies and engineering practices (#4) 2020-05-19 12:03:33 -07:00
package-lock.json Bump hosted-git-info from 2.8.8 to 2.8.9 (#31) 2021-05-11 12:39:19 -07:00
package.json Use main branch when packaging vsix (#14) 2020-10-23 12:29:20 -07:00
tsconfig.json Update dependencies and engineering practices (#4) 2020-05-19 12:03:33 -07:00
tslint.json Update dependencies and engineering practices (#4) 2020-05-19 12:03:33 -07:00
webpack.config.js Refactor extension to support just graph explorer 2020-03-13 16:17:21 -07:00

README.md

Cosmos DB Graph Support for VS Code (deprecated)

Note: This extension has been deprecated. Visualize graph data in the Azure Portal or with these solutions instead.


Use Gremlin to query Cosmos DB graphs.

Query Graphs

  • Configure the user setting cosmosDB.graph.viewSettings to customize which properties to display and which colors to use based on vertex label.
    "cosmosDB.graph.viewSettings": [
        {
            "vertexSettings": [
                {
                    // Default settings for all vertices
                    "displayProperty": [
                        // Display name property if exists, otherwise firstName if it exists, otherwise ID
                        "name",
                        "firstName"
                    ],
                    // Auto-choose color by label
                    "color": "auto",
                    // Show label after display property
                    "showLabel": true
                },
                {
                    // These setting apply to vertices with the label 'person'
                    "appliesToLabel": "person",
                    "color": "blue"
                }
            ]
        }
    ]

Contributing

There are several ways you can contribute to our repo:

  • Ideas, feature requests and bugs: We are open to all ideas and we want to get rid of bugs! Use the Issues section to report a new issue, provide your ideas or contribute to existing threads.

  • Documentation: Found a typo or strangely worded sentences? Submit a PR!

  • Code: Contribute bug fixes, features or design changes:

    • Clone the repository locally and open in VS Code.
    • Open the terminal (press CTRL+`) and run npm install.
    • To build, press F1 and type in Tasks: Run Build Task.
    • Debug: press F5 to start debugging the extension.

Before we can accept your pull request you will need to sign a Contribution License Agreement. All you need to do is to submit a pull request, then the PR will get appropriately labelled (e.g. cla-required, cla-norequired, cla-signed, cla-already-signed). If you already signed the agreement we will continue with reviewing the PR, otherwise system will tell you how you can sign the CLA. Once you sign the CLA all future PR's will be labeled as cla-signed.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Telemetry

VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you dont wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Learn more in our FAQ.

License

MIT