Coordinate Container

In Coordinate Container,I have Flow Chart .

coordinate-mode:fixed

If I don’t want to set mode=percent, how to make it stretch to the entire browser?

set its meta property width and height to 100%.
Note that you can use calc() to manipulate it, like calc(100% - 40px) and set x to 20px if you want a 20 pixels padding on each side

Coordinate Container‘s height or width must be integer.

That's not the right properties.
Select whatever component needs to stretch, and find its position properties.
They have width and height properties:

calc raises a warning, but it works... Maybe there's a way to suppress that warning, I'm not sure.

Yeah, If I have just one component, such as you you write, it can resize.

But If I have many components , I can’t set every component’s width , is there other easy way?

Why not ?
The alternative is to use a flex container instead.

2 Likes