Class: DiagramModel#
@deathbeds/ipydrawio.DiagramModel
A model of a Diagram
Hierarchy#
BoxModel
↳
DiagramModel
Constructors#
constructor#
• new DiagramModel(attributes?
, options?
)
Parameters#
Name |
Type |
---|---|
|
|
|
|
Inherited from#
BoxModel.constructor
Defined in#
node_modules/@types/backbone/index.d.ts:256
Properties#
model_module#
▪ Static
model_module: string
= NS
Defined in#
model_module_version#
▪ Static
model_module_version: string
= VERSION
Defined in#
model_name#
▪ Static
model_name: string
= 'DiagramModel'
Defined in#
serializers#
▪ Static
serializers: Object
Type declaration#
Name |
Type |
---|---|
|
{ |
|
( |
Overrides#
BoxModel.serializers
Defined in#
view_module#
▪ Static
view_module: string
= NS
Defined in#
view_module_version#
▪ Static
view_module_version: string
= VERSION
Defined in#
view_name#
▪ Static
view_name: string
= 'DiagramView'
Defined in#
Methods#
defaults#
▸ defaults(): Object
Default traitlet values for a diagram
Returns#
Object
Name |
Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Overrides#
BoxModel.defaults
Defined in#
packages/ipydrawio/src/widgets.ts:147
Copyright 2022 ipydrawio contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.