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(cap)Disconnects joint from objects.
euid()
getVertices()Get connection vertices.
hideHandle(cap)Hide handle.
highlight(color)Highlight connection.
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])Register object(s) so that it can be pointed by my cap.
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.
Joint.resetPaper()<static>描画領域にあるすべての図形を削除する
setBBoxCorrection(corr, cap)Set bounding box correction.
setVertices(vertices)Set the vertices of the connection
showHandle(cap)Show handle.
straighten()曲がった線をまっすぐに整える
stringify()オブジェクトの状態をJSON形式で取得する
toggleHandle(cap)Show/hide handle(s).
toggleSmoothing()Toggle the connection smoothing (bezier/straight).
unhighlight()Unhighlight connection.
unregister(obj, cap)Cancel registration of an object.

未整理

コメント


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