ProgramLanguage/Script/JavaScript

JointJS

本家

APIリファレンス

クラス説明
Joint
Joint.arrowsAdditional ready-to-use arrows.
Joint.diaHolds functionality related to all diagrams and their elements.
Joint.dia.cdmHolds functionality related to Conceptual Data Model (CDM) and Logical Data Model (LDM) diagrams.
Joint.dia.devsHolds functionality related to Discrete EVent System (DEVS) diagrams.
Joint.dia.Element
Joint.dia.erdHolds functionality related to Entity-relationship diagrams.
Joint.dia.fsaHolds functionality related to FSA diagrams.
Joint.dia.orgHolds functionality related to Org-charts.
Joint.dia.pnHolds functionality related to Petri net diagrams.
Joint.dia.umlHolds functionality related to UML diagrams.

Joint クラス

メソッド

名称備考
Joint(from, to, opts)図形と図形をつなぐ線または矢印を生成します。
compact()Returns compact object representation of joint.
disconnect([string])図形との連結を切断します。
euid()
getVertices()Get connection vertices.
hideHandle([string])始点または終点の座標を移動するためのハンドルを隠します。
highlight([string])線を強調するため一時的に色を変更します。
isSmooth()Find out whether the connection is smooth or not.
label(str)Set a label of the connection.
Joint.paper(p)<static>図形を描画する領域を作成します。
register(object[, string])図形を登録します。
registerCallback(evt, fnc)Register callback function on various events.
registeredObjects()
registerForever(arr)The difference between register and registerForever is that registerForever saves reference to an array passed as argument.
resetPaper()<static>描画領域にあるすべての図形を削除します。
setBBoxCorrection(corr, cap)Set bounding box correction.
setVertices(vertices)Set the vertices of the connection
showHandle([string])Show handle.
straighten()曲がった線をまっすぐに整えます。
stringify()オブジェクトの状態をJSON形式で取得します。
toggleHandle([string])始点または終点の座標を移動するためのハンドルが表示されていれば隠し、
ハンドルが隠されていれば表示します。
toggleSmoothing()Toggle the connection smoothing (bezier/straight).
unhighlight()Unhighlight connection.
unregister(object[, string])図形の登録を取り消します。

未整理

コメント


トップ   一覧 検索 最終更新   ヘルプ   最終更新のRSS