1
Suggestions and Requests / Re: Apply Model Filters to specific diagram type permanently
« on: March 13, 2018, 04:35:09 am »
Hi,
I have similar requests.
you can create an own MDG and define your own connectors.
In the shape script of the connector you can check the current diagram
shape main
{
if(hasProperty("diagram.mdgtype","myMDG::diagram-name"))
{
// implement your connecor drawing here für this diagram
moveto(0,0);
lineto(100,0);
} else{
// if now drawing is defined here the connector isn't shown
}
}
I have similar requests.
you can create an own MDG and define your own connectors.
In the shape script of the connector you can check the current diagram
shape main
{
if(hasProperty("diagram.mdgtype","myMDG::diagram-name"))
{
// implement your connecor drawing here für this diagram
moveto(0,0);
lineto(100,0);
} else{
// if now drawing is defined here the connector isn't shown
}
}