Expand New-HTMLDiagramInteractionOptions with more options

未關閉
#56 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
38/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
javascript, powershell
領域
frontend

研究方向

先找到 New-HTMLDiagramInteractionOptions,並將其目前的雜湊表和參數與 issue 中連結的 vis-network 互動選項進行比較。新增對所要求互動設定的支援,然後確認產生的圖表會將這些設定傳遞給 network.setOptions(options)。

由索引模型根據 Issue 內容生成。

描述

enhancement good first issue hacktoberfest

All options:

https://visjs.github.io/vis-network/docs/network/interaction.html#

// these are all options in full.
var options = {
  interaction:{
    dragNodes:true,
    dragView: true,
    hideEdgesOnDrag: false,
    hideEdgesOnZoom: false,
    hideNodesOnDrag: false,
    hover: false,
    hoverConnectedEdges: true,
    keyboard: {
      enabled: false,
      speed: {x: 10, y: 10, zoom: 0.02},
      bindToWindow: true
    },
    multiselect: false,
    navigationButtons: false,
    selectable: true,
    selectConnectedEdges: true,
    tooltipDelay: 300,
    zoomView: true
  }
}

network.setOptions(options);

Modify hashtable/paramters to catter more options.

主要語言
PowerShell
星號
1k
分支
115
平均合併
4 小時 41 分鐘
30 天內合併 PR
4

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

EvotecIT/PSWriteHTML 的其他 Issue

查看 EvotecIT/PSWriteHTML 的全部 Issue

相似的 Issue

更多 Web Dev Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。