{"id":19282810,"url":"https://github.com/kanaries/vue-graphic-walker","last_synced_at":"2025-04-12T00:03:11.940Z","repository":{"id":179099085,"uuid":"662863559","full_name":"Kanaries/vue-graphic-walker","owner":"Kanaries","description":"vue componet for graphic walker (tableau alternative)","archived":false,"fork":false,"pushed_at":"2024-04-24T14:24:56.000Z","size":57,"stargazers_count":10,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-09T21:35:17.356Z","etag":null,"topics":["data-visualization","tableau","visualization"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kanaries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-06T03:50:42.000Z","updated_at":"2024-08-02T01:30:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"84f60629-2bc4-4644-8146-75ddb4ecd3b1","html_url":"https://github.com/Kanaries/vue-graphic-walker","commit_stats":null,"previous_names":["kanaries/vue-graphic-walker"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kanaries%2Fvue-graphic-walker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kanaries%2Fvue-graphic-walker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kanaries%2Fvue-graphic-walker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kanaries%2Fvue-graphic-walker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kanaries","download_url":"https://codeload.github.com/Kanaries/vue-graphic-walker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232617024,"owners_count":18550947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualization","tableau","visualization"],"created_at":"2024-11-09T21:28:29.043Z","updated_at":"2025-01-05T17:21:10.562Z","avatar_url":"https://github.com/Kanaries.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Graphic Walker\n\n[English](https://github.com/Kanaries/vue-graphic-walker) | [简体中文](./docs/README.zh-CN.md)\n\n![](https://img.shields.io/github/license/kanaries/vue-graphic-walker)\n![](https://img.shields.io/npm/v/@kanaries/vue-graphic-walker)\n\n`@kanaries/vue-graphic-walker` is a Vue component that allows you to create a [graphic walker](https://github.com/Kanaries/graphic-walker) (a lite opensource tableau alternative).\n\n![graphic-walker-banner](https://user-images.githubusercontent.com/22167673/222895294-47ddd664-106e-45ff-a613-e7919522cb79.png)\n\n## Usage\n\nStep 1: install package\n```bash\nnpm i --save @kanaries/vue-graphic-walker\n```\n\nStep 2: use component in vue.\n\n### Use as component\n\n```vue\n\u003cscript setup lang=\"ts\"\u003e\nimport { VueGraphicWalker } from '@kanaries/vue-graphic-walker';\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cVueGraphicWalker /\u003e\n\u003c/template\u003e\n```\n\n### Use as hook\n\n```vue\n\u003cscript setup lang=\"ts\"\u003e\nimport { useGraphicWalker } from './useGraphicWalker';\nimport { onMounted, ref } from 'vue';\nconst gw = ref\u003cHTMLElement | null\u003e(null);\nonMounted(() =\u003e {\n  const { render } = useGraphicWalker(gw)\n  render();\n})\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cdiv ref=\"gw\"\u003e\u003c/div\u003e\n\u003c/template\u003e\n```\n\n## Docs\nprops of \u003cVueGraphicWalker /\u003e component is same as graphic-walker:\n\n```ts\nexport interface IGWProps {\n    dataSource?: IRow[];\n    rawFields?: IMutField[];\n    spec?: Specification;\n    hideDataSourceConfig?: boolean;\n    i18nLang?: string;\n    i18nResources?: { [lang: string]: Record\u003cstring, string | any\u003e };\n    keepAlive?: boolean;\n    /**\n     * auto parse field key into a safe string. default is true\n     */\n    fieldKeyGuard?: boolean;\n    /** @default \"vega\" */\n    themeKey?: IThemeKey;\n    dark?: IDarkMode;\n    storeRef?: React.MutableRefObject\u003cIGlobalStore | null\u003e;\n    toolbar?: {\n        extra?: ToolbarItemProps[];\n        exclude?: string[];\n    };\n}\n```\n\n+ [graphic-walker docs](https://docs.kanaries.net/graphic-walker)\n+ [graphic-walker github](https://github.com/Kanaries/graphic-walker)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanaries%2Fvue-graphic-walker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanaries%2Fvue-graphic-walker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanaries%2Fvue-graphic-walker/lists"}